OPC Studio User's Guide and Reference
Keys Property (ServerElementCollection)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > ServerElementCollection Class : Keys Property
A collection of server URIs that are keys to the server elements in the dictionary.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<XmlIgnoreAttribute()>
Public ReadOnly Property Keys As ICollection(Of String)
'Usage
 
Dim instance As ServerElementCollection
Dim value As ICollection(Of String)
 
value = instance.Keys
[CanBeNull()]
[XmlIgnore()]
public ICollection<string> Keys {get;}
[CanBeNull()]
[XmlIgnore()]
public:
property ICollection<String^>^ Keys {
   ICollection<String^>^ get();
}

Property Value

This value of this property can be null (Nothing in Visual Basic).

The individual elements of the property value cannot be null (Nothing in Visual Basic).

The default value of this property is null.

Returns a collection of keys. Returns null reference if the collection has not been yet allocated.
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