共用方式為


IVsUIWin32Icon.GetHICON Method

Definition

Overloads

GetHICON(Int32)

Returns the HICON handle for the icon.

GetHICON(IntPtr)

GetHICON(Int32)

Returns the HICON handle for the icon.

public:
 int GetHICON([Runtime::InteropServices::Out] int % phIcon);
int GetHICON([Runtime::InteropServices::Out] int & phIcon);
public int GetHICON (out int phIcon);
abstract member GetHICON :  -> int
Public Function GetHICON (ByRef phIcon As Integer) As Integer

Parameters

phIcon
Int32

[out] Location to return the handle.

Returns

Returns S_OK if the handle was returned.

Applies to

GetHICON(IntPtr)

public:
 int GetHICON([Runtime::InteropServices::Out] IntPtr % phIcon);
public int GetHICON (out IntPtr phIcon);
abstract member GetHICON : nativeint -> int
Public Function GetHICON (ByRef phIcon As IntPtr) As Integer

Parameters

phIcon
IntPtr

nativeint

Returns

Applies to