IProtectionEngine.GetTemplates Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetTemplates(GetTemplatesSettings) |
Get collection of templates available to a user. |
GetTemplates() |
Get collection of templates available to a user. |
GetTemplates(GetTemplatesSettings)
Get collection of templates available to a user.
public System.Collections.Generic.List<Microsoft.InformationProtection.Protection.TemplateDescriptor> GetTemplates (Microsoft.InformationProtection.Protection.GetTemplatesSettings settings);
abstract member GetTemplates : Microsoft.InformationProtection.Protection.GetTemplatesSettings -> System.Collections.Generic.List<Microsoft.InformationProtection.Protection.TemplateDescriptor>
Public Function GetTemplates (settings As GetTemplatesSettings) As List(Of TemplateDescriptor)
Parameters
- settings
- GetTemplatesSettings
Settings to use when obtaining templates
Returns
List of template IDs.
Applies to
GetTemplates()
Get collection of templates available to a user.
public System.Collections.Generic.List<Microsoft.InformationProtection.Protection.TemplateDescriptor> GetTemplates ();
abstract member GetTemplates : unit -> System.Collections.Generic.List<Microsoft.InformationProtection.Protection.TemplateDescriptor>
Public Function GetTemplates () As List(Of TemplateDescriptor)
Returns
List of template IDs.