Partager via


IVsRunningDocumentTable3.IsDocumentDirty Method

Indicates whether the document has changed since the last save.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.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

See Also

Reference

IVsRunningDocumentTable3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace