2026 Method
Changes 0
M

Element.IsValidType

Description:
Checks if given type is valid for this element.
Remarks:
A type is valid for an element if it can be assigned to the element.
Overloads (2):
public bool IsValidType(
	ElementId typeId
)
  • typeId
    ElementId of the type to check.
Return Value Boolean True if element can have a type assigned and this type is valid for this element, false otherwise.