IFCAnyHandle.IsSubTypeOf Method

IFCAnyHandleIsSubTypeOf Method

Determines whether the instance is an instance of the specified instance type or a subtype of this instance type.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public bool IsSubTypeOf(
	string typeName
)
Public Function IsSubTypeOf ( 
	typeName As String
) As Boolean
public:
bool IsSubTypeOf(
	String^ typeName
)
member IsSubTypeOf : 
        typeName : string -> bool 

Parameters

typeName  String
The instance type name.

Return Value

Boolean
True if the instance is an instance of the specified instance type or its subtype, false otherwise.
Exceptions
ExceptionCondition
ArgumentNullException A non-optional argument was null
See Also