IVsPersistHierarchyItem2.IsItemReloadable Method
Determines whether a project item is reloadable before calling ReloadItem.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function IsItemReloadable ( _
itemid As UInteger, _
<OutAttribute> ByRef pfReloadable As Integer _
) As Integer
int IsItemReloadable(
uint itemid,
out int pfReloadable
)
int IsItemReloadable(
[InAttribute] unsigned int itemid,
[OutAttribute] int% pfReloadable
)
abstract IsItemReloadable :
itemid:uint32 *
pfReloadable:int byref -> int
function IsItemReloadable(
itemid : uint,
pfReloadable : int
) : int
Parameters
itemid
Type: UInt32[in] Specifies itemid from VSITEMID.
pfReloadable
Type: Int32%[out] Pointer to a flag indicating whether the item is reloadable.
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::IsItemReloadable(
[in] VSITEMID itemid,
[out, retval] BOOL *pfReloadable
);
.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.