共用方式為


UserPolicy.ContentId property

Gets the unique content ID associated with the protected document.

Syntax

public:
property String^ ContentId { 
   String^ get();
}

Property value

Type: String

A string containing the unique ID of the document.

Remarks

For detailed information on this property and the others of the UserPolicy class, see the "New Features for September 2013" section of the What's new topic.

Requirements

Minimum supported client
None supported
Minimum supported server
None supported
Minimum supported phone
Windows Phone 8.1
Namespace
Microsoft::RightsManagement
Metadata
Microsoft.RightsManagement.winmd