Condividi tramite


IPersistXMLFragment.IsFragmentDirty(UInt32, Int32) Method

Definition

Determines whether an XML fragment has changed since it was last saved to its current file.

public:
 int IsFragmentDirty(System::UInt32 storage, [Runtime::InteropServices::Out] int % pfDirty);
int IsFragmentDirty(unsigned int storage, [Runtime::InteropServices::Out] int & pfDirty);
public int IsFragmentDirty (uint storage, out int pfDirty);
abstract member IsFragmentDirty : uint32 * int -> int
Public Function IsFragmentDirty (storage As UInteger, ByRef pfDirty As Integer) As Integer

Parameters

storage
UInt32

[in] Storage type of the file in which the XML is persisted. Values are taken from _PersistStorageType enumeration.

pfDirty
Int32

[out] true if the XML fragment changed.

Returns

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IPersistXMLFragment::IsFragmentDirty(  
   [in] PersistStorageType storage,  
   [out] BOOL *pfDirty  
);  

Applies to