IVsPersistHierarchyItem2.ReloadItem Method

Called to reload project item.

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

int ReloadItem(
	uint itemid,
	uint dwReserved
)

Parameters

itemid
Type: System.UInt32

[in] Specifies itemid from VSITEMID.

dwReserved
Type: System.UInt32

[in] Double word containing the reserved.

Return Value

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

COM Signature

From vsshell.idl:

HRESULT IVsPersistHierarchyItem2::ReloadItem(
   [in] VSITEMID itemid,
   [in] DWORD dwReserved
);

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft