Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Verifies whether the document has changed since the most recent save operation.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Function IsDirty ( _
<OutAttribute> ByRef dirty As Integer _
) As Integer
public int IsDirty(
out int dirty
)
public:
virtual int IsDirty(
[OutAttribute] int% dirty
) sealed
abstract IsDirty :
dirty:int byref -> int
override IsDirty :
dirty:int byref -> int
public final function IsDirty(
dirty : int
) : int
Parameters
dirty
Type: System.Int32%true to indicate that the document changed; otherwise, false.
Return Value
Type: System.Int32
S_OK if the method succeeds; otherwise, it returns an error code.
Implements
IPersistFileFormat.IsDirty(Int32%)
Remarks
This method implements the IVsPersistDocData2 interface.
.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.