Freigeben über


IVsUIWin32Icon.GetHICON Method

Returns the HICON handle for the icon.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Function GetHICON ( _
    <OutAttribute> ByRef phIcon As Integer _
) As Integer
int GetHICON(
    out int phIcon
)
int GetHICON(
    [OutAttribute] int% phIcon
)
abstract GetHICON : 
        phIcon:int byref -> int
function GetHICON(
    phIcon : int
) : int

Parameters

  • phIcon
    Type: Int32%

    [out] Location to return the handle.

Return Value

Type: Int32
Returns S_OK if the handle was returned.

.NET Framework Security

See Also

Reference

IVsUIWin32Icon Interface

Microsoft.VisualStudio.Shell.Interop Namespace