IVsRunningDocumentTable4.IsDocumentDirty Method
Indicates whether the document has changed since the last save.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.0.dll)
Syntax
'Declaration
Function IsDocumentDirty ( _
cookie As UInteger _
) As Boolean
bool IsDocumentDirty(
uint cookie
)
bool IsDocumentDirty(
[InAttribute] unsigned int cookie
)
abstract IsDocumentDirty :
cookie:uint32 -> bool
function IsDocumentDirty(
cookie : uint
) : boolean
Parameters
cookie
Type: UInt32[in] The document to check.
Return Value
Type: Boolean
true if the document has changed, or false if the document has not changed since the last save.
.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.