IconExtensionsGetIconInfo(Icon, Int32) Method
Gets an
IconInfo instance containing information about an
Icon image of the specified
index.
Namespace: KGySoft.DrawingAssembly: KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 10.0.0-rc.1
public static IconInfo GetIconInfo(
this Icon icon,
int index
)
<ExtensionAttribute>
Public Shared Function GetIconInfo (
icon As Icon,
index As Integer
) As IconInfo
public:
[ExtensionAttribute]
static IconInfo^ GetIconInfo(
Icon^ icon,
int index
)
[<ExtensionAttribute>]
static member GetIconInfo :
icon : Icon *
index : int -> IconInfo
- icon Icon
- The icon.
- index Int32
- The index of the icon image to obtain information for.
IconInfoAn
IconInfo instance containing information about an
Icon image of the specified
index.In Visual Basic and C#, you can call this method as an instance method on any object of type
Icon. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).