AVEVA OMI Software Developer Kit



This is used to derive the assembly name within which the resource exists
The Resource Base Name, e.g. "ArchestrA.Visualization.Displays.WebCore.Properties.Resources"
String Id in the resource string table
LocalizedDescriptionAttribute Constructor(Type,String,String)
Initializes a new instance of the LocalizedDescriptionAttribute class. This is to be used to extract a resource from an assembly when the C# resource class is not available.
Syntax
'Declaration
 
Public Function New( _
   ByVal typeFromAssembly As Type, _
   ByVal resourceBaseName As String, _
   ByVal resourceId As String _
)
'Usage
 
Dim typeFromAssembly As Type
Dim resourceBaseName As String
Dim resourceId As String
 
Dim instance As New LocalizedDescriptionAttribute(typeFromAssembly, resourceBaseName, resourceId)
public LocalizedDescriptionAttribute( 
   Type typeFromAssembly,
   string resourceBaseName,
   string resourceId
)
public:
LocalizedDescriptionAttribute( 
   Type^ typeFromAssembly,
   String^ resourceBaseName,
   String^ resourceId
)

Parameters

typeFromAssembly
This is used to derive the assembly name within which the resource exists
resourceBaseName
The Resource Base Name, e.g. "ArchestrA.Visualization.Displays.WebCore.Properties.Resources"
resourceId
String Id in the resource string table
Example
[LocalizedDescription(typeof(WebPageDisplay), "ArchestrA.Visualization.Displays.WebCore.Properties.Resources", "Address_Description")]
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