Framework.LoadFirstIconFromResource Method

Language:

Attempts to load the first icon from the application's resources.

Definition

Visual Basic Public Function LoadFirstIconFromResource() As Icon
C# public Icon LoadFirstIconFromResource();
C++ public:
IconLoadFirstIconFromResource();
JScript public function LoadFirstIconFromResource() : Icon;

Return Value

System.Drawing.Icon
The first icon from the application's resources.

Remarks

If no icon is found in the application's resources, this method wil return a null.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center