IPersistFileFormat::IsDirty Method (Int32)

 

Determines whether an object has changed since being saved to its current file.

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

int IsDirty(
	[OutAttribute] int% pfIsDirty
)

Parameters

pfIsDirty
Type: System::Int32

[out] true if the document content changed.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From fpstfmt.idl:

HRESULT IPersistFileFormat::IsDirty(
   [out] BOOL *pfIsDirty
);

 

Return to top
Show: