Compartilhar via


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

'Declaração
Function QueryCleanState ( _
    <OutAttribute> ByRef pfClean As Integer _
) As Integer
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

Microsoft.VisualStudio.TextManager.Interop Namespace