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
'Declaración
Function IgnoreItemFileChanges ( _
itemid As UInteger, _
fIgnore As Integer _
) As Integer
'Uso
Dim instance As IVsPersistHierarchyItem2
Dim itemid As UInteger
Dim fIgnore As Integer
Dim returnValue As Integer
returnValue = instance.IgnoreItemFileChanges(itemid, _
fIgnore)
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: System.UInt32
[in] Specifies the item id from VSITEMID.
- fIgnore
Type: System.Int32
[in] Flag indicating ignore.
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 vsshell.idl:
HRESULT IVsPersistHierarchyItem2::IgnoreItemFileChanges(
[in] VSITEMID itemid, [in] BOOL fIgnore
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsPersistHierarchyItem2 Interface