TreeView for WinForms | ComponentOne
C1.Framework Namespace / ResourceLoader Class / GetImage Method / GetImage(Assembly,String) Method
An System.Reflection.Assembly to load image from.
The case-insensitive name of the requested image.

In This Topic
    GetImage(Assembly,String) Method
    In This Topic
    Loads an image from the specified assembly.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetImage( _
       ByVal a As Assembly, _
       ByVal name As String _
    ) As Image
    public static Image GetImage( 
       Assembly a,
       string name
    )

    Parameters

    a
    An System.Reflection.Assembly to load image from.
    name
    The case-insensitive name of the requested image.

    Return Value

    The System.Drawing.Image if it is found; null otherwise.
    See Also