IVsChangeTrackingUndoManager.QueryCleanState Method

Determines whether the document is in an unmodified state.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Function QueryCleanState ( _
    <OutAttribute> ByRef pfClean As Integer _
) As Integer
'Utilisation
Dim instance As IVsChangeTrackingUndoManager
Dim pfClean As Integer
Dim returnValue As Integer

returnValue = instance.QueryCleanState(pfClean)
int QueryCleanState(
    out int pfClean
)
int QueryCleanState(
    [OutAttribute] int% pfClean
)
abstract QueryCleanState : 
        pfClean:int byref -> int 
function QueryCleanState(
    pfClean : int
) : int

Parameters

  • pfClean
    Type: System.Int32%
    [out] true indicates the document is in an unmodified state.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsChangeTrackingUndoManager::QueryCleanState(
   [out] BOOL *pfClean
);

.NET Framework Security

See Also

Reference

IVsChangeTrackingUndoManager Interface

IVsChangeTrackingUndoManager Members

Microsoft.VisualStudio.TextManager.Interop Namespace