Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcArgumentGlobalization type exposes the following members.
Gets a sequence of CultureInfo objects associated with the resources maintained by the current OpcArgumentGlobalization.
C#
public IEnumerable<CultureInfo> Cultures { get; }
Property Value
An IEnumerable´1 of unique CultureInfo objects.
Gets a sequence of String objects representing the CultureInfo.Name of the Cultures associated with the resources maintained by the current OpcArgumentGlobalization.
C#
public IEnumerable<string> Locales { get; }
Property Value
An IEnumerable´1 of unique String objects.
Gets a sequence of String objects representing the resources associated with the Cultures maintained by the current OpcArgumentGlobalization.
C#
public IEnumerable<string> Values { get; }
Property Value
An IEnumerable´1 of String objects.
Adds or overrides the specified resource value
associated with the culture
specified.
C#
public void Add(CultureInfo culture, string value)
Parameters
culture
CultureInfo
The non-neutral CultureInfo.
value
String
The String value of the resource.
Exceptions
The culture
is a neutral culture.
The culture
is a null reference (Nothing in Visual Basic).
Adds or overrides the specified resource value
associated with the culture identified by cultureName
.
C#
public void Add(string cultureName, string value)
Parameters
cultureName
String
The CultureInfo.Name of a well known non-neutral CultureInfo.
value
String
The String value of the resource.
Exceptions
The cultureName
is an empty string or the CultureInfo referred to by cultureName
is a neutral culture.
The cultureName
is a null reference (Nothing in Visual Basic).
The culture specified by cultureName
does not refer to a well known culture.
Removes the resource associated with the culture
specified.
C#
public void Remove(CultureInfo culture)
Parameters
culture
CultureInfo
The non-neutral CultureInfo.
Exceptions
The culture
is a neutral culture.
The culture
is a null reference (Nothing in Visual Basic).
Removes the resource associated with the culture identified by cultureName
.
C#
public void Remove(string cultureName)
Parameters
cultureName
String
The CultureInfo.Name of a well known non-neutral CultureInfo.
Exceptions
The cultureName
is an empty string or the CultureInfo referred to by cultureName
is a neutral culture.
The cultureName
is a null reference (Nothing in Visual Basic).
The culture specified by cultureName
does not refer to a well known culture.
C#
public OpcText Translate(OpcContext context, OpcText text)
Parameters
context
OpcContext
text
OpcText
Returns
Exceptions
The context
or text
is a null reference (Nothing in Visual Basic).