AVEVA OMI Software Developer Kit



This should be the type of resource class.
Id of the string resource
LocalizedDescriptionAttribute Constructor(Type,String)
Initializes a new instance of the LocalizedDescriptionAttribute class. This is to be used when the C# Resource class is accessible.
Syntax
'Declaration
 
Public Function New( _
   ByVal typeFromAssembly As Type, _
   ByVal resourceId As String _
)
'Usage
 
Dim typeFromAssembly As Type
Dim resourceId As String
 
Dim instance As New LocalizedDescriptionAttribute(typeFromAssembly, resourceId)
public LocalizedDescriptionAttribute( 
   Type typeFromAssembly,
   string resourceId
)
public:
LocalizedDescriptionAttribute( 
   Type^ typeFromAssembly,
   String^ resourceId
)

Parameters

typeFromAssembly
This should be the type of resource class.
resourceId
Id of the string resource
Example
[LocalizedDescription(typeof(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