ArcFM Engine Developer Guide
AssemblyResourceInfoAttribute Constructor


The project default namespace and folder where resources are located.
The name of the resource file containing text to internationalize.
Construct the main assembly resource information custom attribute.
Syntax
'Declaration
 
Public Function New( _
   ByVal resourceBaseName As String, _
   ByVal resourceTextFile As String _
)
'Usage
 
Dim resourceBaseName As String
Dim resourceTextFile As String
 
Dim instance As New AssemblyResourceInfoAttribute(resourceBaseName, resourceTextFile)
public AssemblyResourceInfoAttribute( 
   string resourceBaseName,
   string resourceTextFile
)

Parameters

resourceBaseName
The project default namespace and folder where resources are located.
resourceTextFile
The name of the resource file containing text to internationalize.
Remarks
The resources for an assembly are usually located in the default namespace for the project (since the resource files do not contain a namespace specification). The first parameter explicitly defines the namespace where the resources are located. It is typical to place all resources into a subfolder of the project so that they are collected together and are easier to locate and manage. In this case, the first parameter defines the default namespace followed by the subfolder name - e.g. MyProject.Resources. Images (bitmaps and icons) typically do not need to be internationalized - the images are language independent. However, all text for an application should be placed into a resource file(s) so that it can be easily internationalized using .NET features. The second parameter defines the name of the file that holds the text to be internationalized for the assembly (typically "Text" for a "Text.resx" file in the MyProject.Resources folder).
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

AssemblyResourceInfoAttribute Class
AssemblyResourceInfoAttribute Members

 

 


Send Comment