Nevron.UI Namespace / NResourceHelper Class / IconFromResource Method


IconFromResource Method
Syntax
'Declaration
 
Public Shared Function IconFromResource( _
   ByVal type As System.Type, _
   ByVal resource As System.String, _
   ByVal path As System.String _
) As System.Drawing.Icon
 
'Usage
 
Dim type As System.Type
Dim resource As System.String
Dim path As System.String
Dim value As System.Drawing.Icon
 
value = NResourceHelper.IconFromResource(type, resource, path)

Parameters

type
resource
path
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also