Name
StringCollection
Synopsis
This class is a special collection in which the elements are strings.
Public Class StringCollection : Implements IList, ICollection, IEnumerable ' Public Constructors Public Sub New() ' Public Instance Properties Public ReadOnly Property Count As Integer Implements ICollection.Count Public ReadOnly Property IsReadOnly As Boolean Implements IList.IsReadOnly Public ReadOnly Property IsSynchronized As Boolean Implements ICollection.IsSynchronized Public Default Property Item( ByVal index As Integer) As String Public ReadOnly Property SyncRoot As Object Implements ICollection.SyncRoot ' Public Instance Methods Public Function Add( ByVal value As String) As Integer Public Sub AddRange( ByVal value As String()) Public Sub Clear() Implements IList.Clear Public Function Contains(ByVal value As String) As Boolean Public Sub CopyTo(ByVal array As String(), ByVal index As Integer) Public Function GetEnumerator() As StringEnumerator Public Function IndexOf( ByVal value As String) As Integer Public Sub Insert(ByVal index As Integer, ByVal value As String) Public Sub Remove( ByVal value As String) Public Sub RemoveAt( ByVal index As Integer) Implements IList.RemoveAt End Class
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.