共用方式為


IVsPersistHierarchyItem2.ReloadItem(UInt32, UInt32) Method

Definition

Called to reload project item.

public:
 int ReloadItem(System::UInt32 itemid, System::UInt32 dwReserved);
public:
 int ReloadItem(unsigned int itemid, unsigned int dwReserved);
int ReloadItem(unsigned int itemid, unsigned int dwReserved);
public int ReloadItem (uint itemid, uint dwReserved);
abstract member ReloadItem : uint32 * uint32 -> int
Public Function ReloadItem (itemid As UInteger, dwReserved As UInteger) As Integer

Parameters

itemid
UInt32

[in] Specifies itemid from VSITEMID.

dwReserved
UInt32

[in] Double word containing the reserved.

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::ReloadItem(  
   [in] VSITEMID itemid,  
   [in] DWORD dwReserved  
);  

Applies to