MindFusion.Charting Programmer's Guide

StringCollection Members

Constructors Properties Methods
 


Represents a collection with string labels.

The following tables list the members exposed by the StringCollection type.

 Public Constructors

  Name Description

StringCollection

Overloaded. Initializes a new instance of the StringCollection class.

 Public Properties

  Name Description

Item

Gets or sets the element at the specified index.

 Public Methods

  Name Description

Add

Adds a new label to the StringCollection.

Compare

Compares a list to the current StringCollection.

Contains

Checks whether the StringCollection contains the specified label.

GetValues

Returns an array with all labels in the StringCollection.

IndexOf

Returns the index of the first occurrence of the specified label.

Insert

Inserts the specified label in the specified position.

Remove

Removes the first occurrence of the specified label.

RemoveAt

Removes the label at the specified index.

ToString

Returns a string representation of the collection.

 See Also