PolicyCollection.Item Property (String)
Gets the specified information policy.
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 Policy
Get
'Usage
Dim instance As PolicyCollection
Dim Id As String
Dim value As Policy
value = instance(Id)
public Policy this[
string Id
] { get; }
Parameters
Id
Type: System.StringThe ID of the policy to return.
Property Value
Type: Microsoft.Office.RecordsManagement.InformationPolicy.Policy
A Policy object that represents the information policy.
Remarks
Use the Id property of the Policy object to return the policy's ID.
See Also
Reference
Microsoft.Office.RecordsManagement.InformationPolicy Namespace