ViewFamilyType.IsValidDefaultTemplate
Method
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
| templateId | ElementId | Id to be validated as default template. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if %templateId% is valid as default template, false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |