Partager via


PolicyResourceCollection.Item - Propriété (String)

Obtient la ressource de stratégie des informations spécifiées.

Espace de noms :  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly :  Microsoft.Office.Policy (dans Microsoft.Office.Policy.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    Id As String _
) As PolicyResource
    Get
'Utilisation
Dim instance As PolicyResourceCollection
Dim Id As String
Dim value As PolicyResource

value = instance(Id)
public PolicyResource this[
    string Id
] { get; }

Paramètres

  • Id
    Type : System.String

    L'identificateur (ID) de la ressource de stratégie à retourner.

Valeur de propriété

Type : Microsoft.Office.RecordsManagement.InformationPolicy.PolicyResource
Un objet PolicyResource qui représente la ressource de stratégie.

Remarques

Utilisez la propriété Id de l'objet PolicyResource pour renvoyer l'ID de. de la fonctionnalité stratégie

Voir aussi

Référence

PolicyResourceCollection classe

PolicyResourceCollection - Membres

Item - Surcharge

Microsoft.Office.RecordsManagement.InformationPolicy - Espace de noms