'Declaration
Public Overloads Shared Function GetIcon( _ ByVal assembly As Assembly, _ ByVal resourcePath As String, _ ByVal width As Integer, _ ByVal height As Integer _ ) As Icon
Parameters
- assembly
- The assembly that contain the specified icon resource. If the assembly is null, that mean the specified icon resource is file.
- resourcePath
- The path of specifed icon resource.
- width
- Width of icon.
- height
- Height of icon.