Hi,
I new in .NET.
I looking for way to create multilanguage property description.
Example
Public Class manufacture
Private _ManufactureName As String
<Description(" Here would be good to use GetString(Key) "), Category("Base"), Localizable(True)> _
Property ManufactureName() As String
Get
ManufactureName = _ManufactureName
End Get
Set(ByVal Value As String)
_ManufactureName = Value
End Set
End Property
End Class
Is it possible create multilanguage description using code
Dim loResources As System.Resources.ResourceManager
loResources = New Resources.ResourceManager ("PropGrid.StringLibrary", [Assembly].GetExecutingAssembly())
Dim ci As CultureInfo = Thread.CurrentThread.CurrentCulture
How can I use external call GetString for Attributes in this case?
loResources.GetString("MAN_DESCR", ci)
How Attribute definition will looks in code?
Thanks
Denis