NetXP 3.0 Reference

Resources.LoadIcon Method (Type, String)

Loads an icon from a given assembly and icon file name.

[Visual Basic]
Overloads Public Shared Function LoadIcon( _
   ByVal assemblyType As Type, _
   ByVal iconName As String _
) As Icon
[C#]
public static Icon LoadIcon(
   Type assemblyType,
   string iconName
);

Parameters

assemblyType
The assembly.
iconName
The icon file name.

Return Value

The icon.

See Also

Resources Class | NETXP.Library Namespace | Resources.LoadIcon Overload List