RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Document

Document.GetSubelement(Reference)

Method
Description:
Gets the subelement referenced by the input reference.
Syntax
public Subelement GetSubelement(
	Reference reference
)
Parameters
Parameter Type Description
reference Reference The reference that identifies element or subelement.
Return Value
Type Description
Subelement The subelement referenced by the input argument.
Exceptions
Exception Condition
ArgumentException reference does not identify a valid element or subelement.
ArgumentNullException A non-optional argument was null