Freigeben über


IVsPersistHierarchyItem2.IgnoreItemFileChanges Method

Flag indicating that changes to a file can be ignored when item is saved or reloaded.

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

Syntax

'Declaration
Function IgnoreItemFileChanges ( _
    itemid As UInteger, _
    fIgnore As Integer _
) As Integer
int IgnoreItemFileChanges(
    uint itemid,
    int fIgnore
)
int IgnoreItemFileChanges(
    [InAttribute] unsigned int itemid, 
    [InAttribute] int fIgnore
)
abstract IgnoreItemFileChanges : 
        itemid:uint32 * 
        fIgnore:int -> int
function IgnoreItemFileChanges(
    itemid : uint, 
    fIgnore : int
) : int

Parameters

  • itemid
    Type: UInt32

    [in] Specifies the item id from VSITEMID.

  • fIgnore
    Type: Int32

    [in] Flag indicating ignore.

Return Value

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsPersistHierarchyItem2::IgnoreItemFileChanges(
   [in] VSITEMID itemid, [in] BOOL fIgnore
);

.NET Framework Security

See Also

Reference

IVsPersistHierarchyItem2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace