Edit

Share via


StringList Class

Definition

Represents a list of strings.

public ref class StringList sealed : Microsoft::Exchange::WebServices::Data::ComplexProperty, System::Collections::Generic::IEnumerable<System::String ^>
public sealed class StringList : Microsoft.Exchange.WebServices.Data.ComplexProperty, System.Collections.Generic.IEnumerable<string>
Public NotInheritable Class StringList
Inherits ComplexProperty
Implements IEnumerable(Of String)
Inheritance
StringList
Implements

Constructors

StringList()

Initializes a new instance of the Microsoft.Exchange.WebServices.Data.StringList class.

StringList(IEnumerable<String>)

Initializes a new instance of the Microsoft.Exchange.WebServices.Data.StringList class.

Properties

Count

Gets the number of strings in the list.

Item[Int32]

Gets or sets the string at the specified index.

Methods

Add(String)

Adds a string to the list.

AddRange(IEnumerable<String>)

Adds multiple strings to the list.

Clear()

Clears the list.

Contains(String)

Determines whether the list contains a specific string.

Equals(Object)

Determines whether the specified System.Object is equal to the current System.Object.

GetEnumerator()

Gets an enumerator that iterates through the elements of the collection.

GetHashCode()

Serves as a hash function for a particular type.

Remove(String)

Removes a string from the list.

RemoveAt(Int32)

Removes the string at the specified position from the list.

ToString()

Generates a string representation of all the items in the list.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets an enumerator that iterates through the elements of the collection. The IEnumerable.GetEnumerator() method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

Applies to