ImageHelper.GetIconSize Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function GetIconSize ( _
iconHandle As IntPtr _
) As Size
public static Size GetIconSize(
IntPtr iconHandle
)
public:
static Size GetIconSize(
IntPtr iconHandle
)
static member GetIconSize :
iconHandle:IntPtr -> Size
public static function GetIconSize(
iconHandle : IntPtr
) : Size
Parameters
- iconHandle
Type: System.IntPtr
Return Value
Type: System.Drawing.Size
.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.