IVsUIWin32Icon.GetHICON Method
Returns the HICON handle for the icon.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.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: System.Int32%
[out] Location to return the handle.
Return Value
Type: System.Int32
Returns S_OK if the handle was returned.
.NET Framework Security
- 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.