Gets the handle of the icon that represents the nested project node.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overrides Function GetIconHandle ( _
open As Boolean _
) As Object
'使用
Dim instance As NestedProjectNode
Dim open As Boolean
Dim returnValue As Object
returnValue = instance.GetIconHandle(open)
public override Object GetIconHandle(
bool open
)
public:
virtual Object^ GetIconHandle(
bool open
) override
public override function GetIconHandle(
open : boolean
) : Object
Parameters
open
Type: System.BooleanNot used, users may pass in 0.
Return Value
Type: System.Object
The handle of the icon that represents the nested project node.
Remarks
This method tries first to get the specific nested project icon handle, then to get an icon from the image list. If neither of these is supported, a default image will be shown.
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.