Gets an
System.Drawing.Image from the application's embedded resources.
'Declaration
Public Shared Function GetImageResource( _
ByVal As String _
) As Image
public static Image GetImageResource(
string
)
Parameters
- name
- Name of the embedded resource that contains the image.
Return Value
An
System.Drawing.Image stored with the given name, or null if the image could not be found.