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
‘선언
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
- 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.