ElementType.IsSimilarType
Method
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
| typeId | ElementId | ElementId of the type to check. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if given type is similar to this type, false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |