View.IsValidViewTemplate
Description:
Verifies that the view represented by templateId can be set as the controlling view template for this view.
Verifies that the view represented by templateId can be set as the controlling view template for this view.
public bool IsValidViewTemplate(
ElementId templateId
)
-
templateIdThe id to be validated as a view template for this view.
Return Value
bool
True if the view is valid for us as a view template and compatible with this view, or if it is InvalidElementId, false otherwise.
-
A non-optional argument was null