Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Indicates whether the document is a read-only document.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function IsDocumentReadOnly ( _
cookie As UInteger _
) As Boolean
bool IsDocumentReadOnly(
uint cookie
)
bool IsDocumentReadOnly(
[InAttribute] unsigned int cookie
)
abstract IsDocumentReadOnly :
cookie:uint32 -> bool
function IsDocumentReadOnly(
cookie : uint
) : boolean
Parameters
cookie
Type: UInt32[in] The document to check.
Return Value
Type: Boolean
true if the document can only be read, or false if information can be written to the document.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.