ArcGIS Pro 2.7 API Reference Guide
GetTemplatesAsync Method

ArcGIS.Desktop.Reports Namespace > ReportTemplateManager Class : GetTemplatesAsync Method
Gets the report templates. They are loaded if needed.
Syntax
public static Task<IReadOnlyList<ReportTemplate>> GetTemplatesAsync()
Public Shared Function GetTemplatesAsync() As Task(Of IReadOnlyList(Of ReportTemplate))

Return Value

Awaitable task for a collection of report templates.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ReportTemplateManager Class
ReportTemplateManager Members