Version

Search Results

Add Method (DisplayValueCollection)

Adds a display text value to the collection. Syntax Parameters item The display text value to add to the collection. Exceptions Exception Description System.ArgumentNullException item is null or empty. System.ArgumentException item matches another value in the collection. Values are compared case-insensitively.

Clear Method (DisplayValueCollection)

Clears the collection. Syntax Exceptions Exception Description System.InvalidOperationException The collection is owned by a Infragistics.Documents.Excel.Filtering.FixedValuesFilter which only allowed the values in the collection. Clearing the collection would prevent the filter from including any values, which is...

Contains Method (DisplayValueCollection)

Determines whether the specified value is in the collection. Syntax Parameters item The display text value to find in the collection. Remarks Display text values are compared case-insensitively.

Count Property (DisplayValueCollection)

Gets the number of display text values in the collection. Syntax

IndexOf Method (DisplayValueCollection)

Gets the index of the specified display text value in the collection. Syntax Parameters item The display text value to find in the collection. Return Value The 0-based index of the specified display text value in the collection or -1 if the item is not in the collection.

Insert Method (DisplayValueCollection)

Inserts a display text value into the collection. Syntax Parameters index The 0-based index where the value should be inserted.item The display text value to insert into the collection. Exceptions Exception Description System.ArgumentNullException item is null or empty. System.ArgumentException item matches anothe...

Item Property (DisplayValueCollection)

Gets or sets the display text value at the specified index. Syntax Parameters index The 0-based index of the value to get or set. Exceptions Exception Description System.ArgumentOutOfRangeException index is less than 0 or greater than or equal to Count. System.ArgumentNullException The value assigned is null. Syst...

Remove Method (DisplayValueCollection)

Removes a display text value from the collection. Syntax Parameters item The display text value to remove from the collection. Return Value True if the value was found and removed; False otherwise. Remarks Display text values are compared case-insensitively.

RemoveAt Method (DisplayValueCollection)

Removes the display text value at the specified index. Syntax Parameters index The 0-based index of the value to remove. Exceptions Exception Description System.ArgumentOutOfRangeException index is less than 0 or greater than or equal to Count. System.InvalidOperationException This operation removes the last item ...

DocumentProperties Class

Class which exposes the document level properties for a Microsoft Excel file. Syntax Remarks The properties exposed by this class can be changed on a Microsoft Excel file by right-clicking it in Windows Explorer and editing the properties on the Summary tab.