ArcGIS Pro 2.8 API Reference Guide
GetTemplates Method (ReportTemplateManager)

ArcGIS.Desktop.Reports Namespace > ReportTemplateManager Class : GetTemplates Method
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 10, Windows 8.1

See Also

Reference

ReportTemplateManager Class
ReportTemplateManager Members