QuickOPC User's Guide and Reference
Keys Property (ServerElementCollection)



OpcLabs.EasyOpcClassic 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()>
<DefaultValueAttribute("")>
<ElementsNotNullAttribute()>
<XmlIgnoreAttribute()>
Public ReadOnly Property Keys As ICollection(Of String)
'Usage
 
Dim instance As ServerElementCollection
Dim value As ICollection(Of String)
 
value = instance.Keys
[CanBeNull()]
[DefaultValue("")]
[ElementsNotNull()]
[XmlIgnore()]
public ICollection<string> Keys {get;}
[CanBeNull()]
[DefaultValue("")]
[ElementsNotNull()]
[XmlIgnore()]
public:
property ICollection<String^>^ Keys {
   ICollection<String^>^ get();
}

Property Value

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 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

ServerElementCollection Class
ServerElementCollection Members