Share via


PolicyResourceCollection.Item Property (String)

Gets the specified information policy resource.

Namespace:  Microsoft.Office.RecordsManagement.InformationPolicy
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    Id As String _
) As PolicyResource
    Get
'Usage
Dim instance As PolicyResourceCollection
Dim Id As String
Dim value As PolicyResource

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

Parameters

  • Id
    Type: System.String

    The identifier (ID) of the policy resource to return.

Property Value

Type: Microsoft.Office.RecordsManagement.InformationPolicy.PolicyResource
A PolicyResource object that represents the policy resource.

Remarks

Use the Id property of the PolicyResource object to return the policy feature's ID.

See Also

Reference

PolicyResourceCollection Class

PolicyResourceCollection Members

Item Overload

Microsoft.Office.RecordsManagement.InformationPolicy Namespace