共用方式為


ProtectedFileStream.CanRead property

Gets a value that indicates whether the file can be read from. Implements the IRandomAccessStream.CanRead property.

Syntax

public:
virtual property bool CanRead { 
   bool get();
}

Property value

Type: Boolean

True if the file can be read from; otherwise false.

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

See also

ProtectedFileStream