IPersistXMLFragment.IsFragmentDirty Method

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

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

Syntax

'Declaration
Function IsFragmentDirty ( _
    storage As UInteger, _
    <OutAttribute> ByRef pfDirty As Integer _
) As Integer
'Usage
Dim instance As IPersistXMLFragment 
Dim storage As UInteger 
Dim pfDirty As Integer 
Dim returnValue As Integer 

returnValue = instance.IsFragmentDirty(storage, _
    pfDirty)
int IsFragmentDirty(
    uint storage,
    out int pfDirty
)
int IsFragmentDirty(
    [InAttribute] unsigned int storage, 
    [OutAttribute] int% pfDirty
)
function IsFragmentDirty(
    storage : uint, 
    pfDirty : int
) : int

Parameters

  • pfDirty
    Type: System.Int32%

    [out] true if the XML fragment changed.

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 vsshell80.idl:

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

.NET Framework Security

See Also

Reference

IPersistXMLFragment Interface

IPersistXMLFragment Members

Microsoft.VisualStudio.Shell.Interop Namespace