ArcGIS Pro 2.8 API Reference Guide
AreTemplatesLoaded Method

ArcGIS.Desktop.Mapping Namespace > MappingExtensions Class : AreTemplatesLoaded Method
The layer to check.
Gets whether templates have been loaded for the specified layer.
Syntax
public static bool AreTemplatesLoaded( 
   Layer layer
)
Public Shared Function AreTemplatesLoaded( _
   ByVal layer As Layer _
) As Boolean

Parameters

layer
The layer to check.

Return Value

True if templates have been loaded for this layer, false otherwise.
Remarks
If templates are not loaded for a layer, call GetTemplates on the MCT to load the templates.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MappingExtensions Class
MappingExtensions Members