NestedProjectNode.GetIconHandle Method

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

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

See Also

Reference

NestedProjectNode Class

NestedProjectNode Members

Microsoft.VisualStudio.Package Namespace