Name
HybridDictionary
Synopsis
This class implements a standard dictionary collection with built-in capability for case-insensitive key comparison. Case-insensitivity can be specified during construction with a Boolean argument.
Public Class HybridDictionary : Implements IDictionary, ICollection, IEnumerable ' Public Constructors Public Sub New() Public Sub New( ByVal caseInsensitive As Boolean) Public Sub New( ByVal initialSize As Integer) Public Sub New(ByVal initialSize As Integer, ByVal caseInsensitive As Boolean) ' Public Instance Properties Public ReadOnly Property Count As Integer Implements ICollection.Count Public ReadOnly Property IsFixedSize As Boolean Implements IDictionary.IsFixedSize Public ReadOnly Property IsReadOnly As Boolean Implements IDictionary.IsReadOnly Public ReadOnly Property IsSynchronized As Boolean Implements ICollection.IsSynchronized Public Default Property Item( ByVal key As Object) As Object Implements IDictionary.Item Public ReadOnly Property Keys As ICollection Implements IDictionary.Keys Public ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot Public ReadOnly Property Values As ICollection Implements IDictionary.Values ' Public Instance Methods Public Sub Add(ByVal key As Object, ByVal value As Object) Implements IDictionary.Add Public Sub Clear() Implements IDictionary.Clear Public Function Contains( ByVal key As Object) As Boolean Implements IDictionary.Contains Public Sub CopyTo(ByVal array As Array, ByVal index As Integer) ...
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.