OPC Studio User's Guide and Reference
CountryName Property (UAApplicationManifest)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Administration Namespace > UAApplicationManifest Class : CountryName Property
A country or region (two-letter code).
Syntax
'Declaration
 
<DataMemberAttribute()>
Public Property CountryName As String
'Usage
 
Dim instance As UAApplicationManifest
Dim value As String
 
instance.CountryName = value
 
value = instance.CountryName
[DataMember()]
public string CountryName {get; set;}
[DataMember()]
public:
property String^ CountryName {
   String^ get();
   void set (    String^ value);
}

Property Value

A string representing the country or region code. If the application does not specify a country or region, this value may be empty.

The value of this property cannot be null (Nothing in Visual Basic).

The default value of this property is "" (String.Empty).

Exceptions
ExceptionDescription

A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

When this object is used to override properties of another application manifest, an empty value in this property keeps the original value. A non-empty value in this property overrides the original value. Use "#" to set the value back to an empty string.

In order to obtain or modify this parameter, access the OpcLabs.EasyOpc.UA.Engine.UAClientServerApplicationParameters.ApplicationManifest property of OpcLabs.EasyOpc.UA.Application.EasyUAApplicationCore.ApplicationParameters property of static EasyUAApplication.Instance.

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also