ViewFamilyType.IsValidDefaultTemplate
Description:
Verifies that the input can be used as a default template for this view type.
Verifies that the input can be used as a default template for this view type.
Remarks:
The id must represent a template view that is compatible with this view type, or InvalidElementId.
The id must represent a template view that is compatible with this view type, or InvalidElementId.
public bool IsValidDefaultTemplate(
ElementId templateId
)
-
templateIdId to be validated as default template.
Return Value
bool
True if %templateId% is valid as default template, false otherwise.
-
A non-optional argument was NULL