ArcFM Engine Developer Guide
GetIcon Method (ResourceData)


The name of the icon to retrieve (without the .ico suffix).
Retrieves an icon stored in an assembly's resources section.
Syntax
'Declaration
 
Public Function GetIcon( _
   ByVal iconName As String _
) As Icon
'Usage
 
Dim instance As ResourceData
Dim iconName As String
Dim value As Icon
 
value = instance.GetIcon(iconName)
public Icon GetIcon( 
   string iconName
)

Parameters

iconName
The name of the icon to retrieve (without the .ico suffix).

Return Value

The desired icon.
Remarks
This method provides a general utility function to retrieve an Icon stored as an embedded resource in an assembly. The parameter specifies the name of the resource (without the .ico suffix). The full name for the resource is {resourceBaseName}.{resource name}.ico where {resourceBaseName} is the parameter to the constructor for this class.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

ResourceData Class
ResourceData Members

 

 


Send Comment