OPC Studio User's Guide and Reference
ServerElementCollection Class
Members 



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace : ServerElementCollection Class
A collection of server elements (ServerElement), keyed by their URI strings.
Object Model
ServerElementCollection ClassServerElement Class
Syntax
'Declaration
 
<ComDefaultInterfaceAttribute(OpcLabs.EasyOpc.ComTypes._ServerElementCollection)>
<ComVisibleAttribute(True)>
<GuidAttribute("1C575C8D-05E2-473B-8933-36F483858985")>
<CLSCompliantAttribute(True)>
<TypeConverterAttribute(OpcLabs.BaseLib.Collections.ObjectModel.Implementation.KeyedCollection2TypeConverter)>
<DefaultMemberAttribute("Item")>
<DebuggerTypeProxyAttribute(System.Collections.Generic.Mscorlib_KeyedCollectionDebugView`2)>
<DebuggerDisplayAttribute("Count = {Count}")>
<SerializableAttribute()>
Public NotInheritable Class ServerElementCollection 
   Inherits OpcLabs.BaseLib.Collections.ObjectModel.KeyedCollection2(Of String,ServerElement)
   Implements OpcLabs.EasyOpc.ComTypes._ServerElementCollection, System.Collections.Generic.ICollection(Of ServerElement), System.Collections.Generic.IEnumerable(Of ServerElement), System.Collections.Generic.IList(Of ServerElement), System.Collections.Generic.IReadOnlyCollection(Of ServerElement), System.Collections.Generic.IReadOnlyList(Of ServerElement), System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Xml.Serialization.IXmlSerializable 
'Usage
 
Dim instance As ServerElementCollection
[ComDefaultInterface(OpcLabs.EasyOpc.ComTypes._ServerElementCollection)]
[ComVisible(true)]
[Guid("1C575C8D-05E2-473B-8933-36F483858985")]
[CLSCompliant(true)]
[TypeConverter(OpcLabs.BaseLib.Collections.ObjectModel.Implementation.KeyedCollection2TypeConverter)]
[DefaultMember("Item")]
[DebuggerTypeProxy(System.Collections.Generic.Mscorlib_KeyedCollectionDebugView`2)]
[DebuggerDisplay("Count = {Count}")]
[Serializable()]
public sealed class ServerElementCollection : OpcLabs.BaseLib.Collections.ObjectModel.KeyedCollection2<string,ServerElement>, OpcLabs.EasyOpc.ComTypes._ServerElementCollection, System.Collections.Generic.ICollection<ServerElement>, System.Collections.Generic.IEnumerable<ServerElement>, System.Collections.Generic.IList<ServerElement>, System.Collections.Generic.IReadOnlyCollection<ServerElement>, System.Collections.Generic.IReadOnlyList<ServerElement>, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Xml.Serialization.IXmlSerializable  
[ComDefaultInterface(OpcLabs.EasyOpc.ComTypes._ServerElementCollection)]
[ComVisible(true)]
[Guid("1C575C8D-05E2-473B-8933-36F483858985")]
[CLSCompliant(true)]
[TypeConverter(OpcLabs.BaseLib.Collections.ObjectModel.Implementation.KeyedCollection2TypeConverter)]
[DefaultMember("Item")]
[DebuggerTypeProxy(System.Collections.Generic.Mscorlib_KeyedCollectionDebugView`2)]
[DebuggerDisplay("Count = {Count}")]
[Serializable()]
public ref class ServerElementCollection sealed : public OpcLabs.BaseLib.Collections.ObjectModel.KeyedCollection2<String,ServerElement>, OpcLabs.EasyOpc.ComTypes._ServerElementCollection, System.Collections.Generic.ICollection<ServerElement>, System.Collections.Generic.IEnumerable<ServerElement>, System.Collections.Generic.IList<ServerElement>, System.Collections.Generic.IReadOnlyCollection<ServerElement>, System.Collections.Generic.IReadOnlyList<ServerElement>, System.Collections.ICollection, System.Collections.IEnumerable, System.Collections.IList, System.Xml.Serialization.IXmlSerializable  
Remarks
This collection is returned by the browsing methods.
Inheritance Hierarchy

System.Object
   System.Collections.ObjectModel.Collection<T>
      System.Collections.ObjectModel.KeyedCollection<TKey,TItem>
            OpcLabs.EasyOpc.ServerElementCollection

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