Called to reload the project item.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function ReloadItem ( _
itemId As UInteger, _
reserved As UInteger _
) As Integer
'使用
Dim instance As HierarchyNode
Dim itemId As UInteger
Dim reserved As UInteger
Dim returnValue As Integer
returnValue = instance.ReloadItem(itemId, _
reserved)
public virtual int ReloadItem(
uint itemId,
uint reserved
)
public:
virtual int ReloadItem(
unsigned int itemId,
unsigned int reserved
)
public function ReloadItem(
itemId : uint,
reserved : uint
) : int
Parameters
- itemId
Type: System.UInt32
- reserved
Type: System.UInt32
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsPersistHierarchyItem2.ReloadItem(UInt32, UInt32)
Permissions
- 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.