ElementType.IsSimilarType
Description:
Checks if given type is similar to this type.
Checks if given type is similar to this type.
Remarks:
Two types are similar if elements that have one type could be assigned the other type.
Two types are similar if elements that have one type could be assigned the other type.
public bool IsSimilarType(
ElementId typeId
)
-
typeIdElementId of the type to check.
Return Value
bool
True if given type is similar to this type, false otherwise.
-
A non-optional argument was null