ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Reports Namespace / ReportTemplateManager Class / GetTemplates Method

In This Topic
    GetTemplates Method (ReportTemplateManager)
    In This Topic
    Gets the report templates. They are loaded if needed. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Shared Function GetTemplates() As IReadOnlyList(Of ReportTemplate)
    public static IReadOnlyList<ReportTemplate> GetTemplates()

    Return Value

    A collection of report templates.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also