IVsRunningDocumentTable3.IsDocumentReadOnly Method

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

Return Value

Type: System.Boolean
true if the document can only be read, or false if information can be written to the document.

.NET Framework Security

See Also

Reference

IVsRunningDocumentTable3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace