IProtectionEngine.GetTemplates Method
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.
GetTemplates(GetTemplatesSettings) |
Get collection of templates available to a user. |
GetTemplates() |
Get collection of templates available to a user. |
Get collection of templates available to a user.
C#
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
Microsoft.InformationProtection 1.16.126 ja muut versiot
Tuote | Versiot |
---|---|
Microsoft.InformationProtection | 1.9.78, 1.10.93, 1.11.53, 1.12.61, 1.13.161, 1.14.108, 1.15.107, 1.16.126 |
Get collection of templates available to a user.
C#
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.
Applies to
Microsoft.InformationProtection 1.16.126 ja muut versiot
Tuote | Versiot |
---|---|
Microsoft.InformationProtection | 1.6.152, 1.7.133, 1.8.94, 1.9.78, 1.10.93, 1.11.53, 1.12.61, 1.13.161, 1.14.108, 1.15.107, 1.16.126 |