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