Framework.LoadFirstIconFromResource() Method (LoadFirstIconFromResource)

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

Definition

Visual Basic Public Function LoadFirstIconFromResource() As IconLeave Site
C# public IconLeave Site LoadFirstIconFromResource();
C++ public:
IconLeave SiteLoadFirstIconFromResource();
JScript public function LoadFirstIconFromResource() : IconLeave Site;

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.

Show: