IPersistXMLFragment.IsFragmentDirty Method (UInt32, Int32)
Visual Studio 2015
Determines whether an XML fragment has changed since it was last saved to its current file.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- storage
-
Type:
System.UInt32
[in] Storage type of the file in which the XML is persisted. Values are taken from _PersistStorageType enumeration.
- pfDirty
-
Type:
System.Int32
[out] true if the XML fragment changed.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IPersistXMLFragment::IsFragmentDirty(
[in] PersistStorageType storage,
[out] BOOL *pfDirty
);
Show: