Subelement.IsValidType
Method
Description:
Checks if given type is valid for this subelement.
Checks if given type is valid for this subelement.
Remarks:
A type is valid for a subelement if it can be assigned to the subelement.
A type is valid for a subelement if it can be assigned to the subelement.
Parameters
Parameter | Type | Description |
---|---|---|
typeId | ElementId | ElementId of the type to check. |
Return Value
Type | Description |
---|---|
Boolean | True if subelement can have a type assigned and this type is valid for this subelement, false otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |