IVsPersistHierarchyItem2.IsItemReloadable(UInt32, Int32) Method

Definition

Determines whether a project item is reloadable before calling ReloadItem(UInt32, UInt32).

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

Parameters

itemid
UInt32

[in] Specifies itemid from VSITEMID.

pfReloadable
Int32

[out] Pointer to a flag indicating whether the item is reloadable.

Returns

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  
);  

Applies to