ImageHandler.GetIconHandle Method

Gets the handle to an icon.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Function GetIconHandle ( _
    iconIndex As Integer _
) As IntPtr
'使用
Dim instance As ImageHandler
Dim iconIndex As Integer
Dim returnValue As IntPtr

returnValue = instance.GetIconHandle(iconIndex)
public IntPtr GetIconHandle(
    int iconIndex
)
public:
IntPtr GetIconHandle(
    int iconIndex
)
public function GetIconHandle(
    iconIndex : int
) : IntPtr

Parameters

Return Value

Type: System.IntPtr

A handle to the specified icon.

Permissions

See Also

Reference

ImageHandler Class

ImageHandler Members

Microsoft.VisualStudio.Package Namespace