IVsRunningDocumentTable4::IsDocumentReadOnly Method (UInt32)

 

Indicates whether the document is a read-only document.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)

bool IsDocumentReadOnly(
	unsigned int cookie
)

Parameters

cookie
Type: System::UInt32

[in] The document to check.

Return Value

Type: System::Boolean

true if the document can only be read, or false if information can be written to the document.

Return to top
Show: