OPC Studio User's Guide and Reference
Location Property (ObjectDescriptor)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > ObjectDescriptor Class : Location Property
The object's location.
Syntax
'Declaration
 
<DefaultValueAttribute("")>
<NotNullAttribute()>
<ValueDomainAttribute(OpcLabs.BaseLib.ValueDomains.UncOrDnsComputerNameValueDomain)>
Public Property Location As String
'Usage
 
Dim instance As ObjectDescriptor
Dim value As String
 
instance.Location = value
 
value = instance.Location
[DefaultValue("")]
[NotNull()]
[ValueDomain(OpcLabs.BaseLib.ValueDomains.UncOrDnsComputerNameValueDomain)]
public string Location {get; set;}
[DefaultValue("")]
[NotNull()]
[ValueDomain(OpcLabs.BaseLib.ValueDomains.UncOrDnsComputerNameValueDomain)]
public:
property String^ Location {
   String^ get();
   void set (    String^ value);
}
Remarks
Corresponds to the host or machine name.
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