Note
On non-Windows platforms this method works for icon files (.ico) only.
public static Icon[] FromFile(
string fileName
)Public Shared Function FromFile (
fileName As String
) As Icon()public:
static array<Icon^>^ FromFile(
String^ fileName
)static member FromFile :
fileName : string -> Icon[] If fileName refers to an icon file it is recommended to use the Icon(String) constructor instead.
The images of an Icon can be extracted by the IconExtensions.ExtractBitmaps methods.