IVsPersistHierarchyItem2.ReloadItem Method
Called to reload project item.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
声明
Function ReloadItem ( _
itemid As UInteger, _
dwReserved As UInteger _
) As Integer
用法
Dim instance As IVsPersistHierarchyItem2
Dim itemid As UInteger
Dim dwReserved As UInteger
Dim returnValue As Integer
returnValue = instance.ReloadItem(itemid, _
dwReserved)
int ReloadItem(
uint itemid,
uint dwReserved
)
int ReloadItem(
[InAttribute] unsigned int itemid,
[InAttribute] unsigned int dwReserved
)
abstract ReloadItem :
itemid:uint32 *
dwReserved:uint32 -> int
function ReloadItem(
itemid : uint,
dwReserved : uint
) : int
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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsPersistHierarchyItem2::ReloadItem(
[in] VSITEMID itemid,
[in] DWORD dwReserved
);
.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