[]
        
(Showing Draft Content)

FarPoint.Win.Chart.StringCollection

StringCollection Class

Represents a collection of string values.

Inheritance
StringCollection
Namespace: FarPoint.Win.Chart
Assembly: FarPoint.Win.Chart.dll
Syntax
public class StringCollection : IList, ICollection, IList<string>, ICollection<string>, IEnumerable<string>, IEnumerable, ICloneable
Public Class StringCollection
    Implements IList, ICollection, IList(Of String), ICollection(Of String), IEnumerable(Of String), IEnumerable, ICloneable

Constructors

Name Description
StringCollection()

Creates a new collection of string values.

StringCollection(StringCollection)

Creates a new collection of string values that is a copy of the specified collection of string values.

Properties

Name Description
Count

Gets the number of string values in the collection.

DataField

Gets or sets the field in the data source that supplies the string values.

DataSource

Gets or sets the data source for the string values.

this[int]

Gets or sets the string value at the specified index.

Methods

Name Description
Add(string)

Adds a string value to the collection.

AddRange(string[])

Adds an array of string values to the collection.

Clear()

Removes all string values from the collection.

Clone()

Creates a new collection that is a copy of this collection.

Contains(string)

Determines whether the collection contains a specific string value.

CopyTo(string[], int)

Copies the string values in the collection to an array, starting at the specified array index.

GetEnumerator()

Gets an enumerator that iterates through the collection.

IndexOf(string)

Determines the index of the string value in the collection.

Insert(int, string)

Inserts a string value into the collection at the specified index.

InsertRange(int, string[])

Inserts an array of string values into the collection at the specified index.

OnChanged(EventArgs)

Raises the Changed event.

Remove(string)

Removes a string value from the collection.

RemoveAt(int)

Removes a string value from the collection at the specified index.

Events

Name Description
Changed

Occurs when the collection is changed.