ArcGIS Pro 3.3 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 static IReadOnlyList<ReportTemplate> GetTemplates()
    Public Shared Function GetTemplates() As IReadOnlyList(Of ReportTemplate)

    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, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also