Skip to end of metadata
Go to start of metadata

A collection of Rows objects that represent the rows of the WebCombo control.

Definition

public class Rows : ISCollectionBase, ISerializable

Summary

The following table summarizes the members exposed in this class.

Public Constructors

Rows Constructor() Public constructor for the Rows Collection.

Public Properties

Combo Gets the WebCombo object that owns the row.
IsReadOnly Returns a Boolean value indicating whether the collection is read-only.
this[int] Property indexer for the collection.

Public Methods

Add(WebComboRow) Add an WebComboRow object into the WebComboRow collection.
Add(string) Creates a new WebComboRow object in the collection and initializes its Name value.
AddRange(WebComboRow[])
Clear() Removes all WebComboRow objects from the collection.
CopyFrom(Rows)
FindRowByText(string) Find specified text in DataTextField and return the WebComboRow object that match.
FindRowByValue(string) Find specified text in DataValueField and return the WebComboRow object that match.
GetEnumerator() Returns an enumerator object for the collection.
GetNamedItem(string) Property indexer for the collection. Uses the Name string to return an WebComboRow object.
Insert(int, WebComboRow) Inserts an WebComboRow object into the WebComboRow collection at a specified index.
Remove(WebComboRow) Removes the specified WebComboRow object from the collection.

Protected Methods

RemoveAt(int) Removes the WebComboRow object at the specified index from the collection.

Public Constructors

public Rows()

Public constructor for the Rows Collection.

Public Properties

public WebCombo Combo { get; }

Gets the WebCombo object that owns the row.

public bool IsReadOnly { get; }

Returns a Boolean value indicating whether the collection is read-only.

public WebComboRow this[int index] { get; }

Property indexer for the collection.

Parameters

index

Public Methods

public int Add(WebComboRow row)

Add an WebComboRow object into the WebComboRow collection.

Parameters

row The WebComboRow object to be added.

Return Types

The index of the newly added WebComboRow.

public int Add(string name)

Creates a new WebComboRow object in the collection and initializes its Name value.

Parameters

name The unique Name value.

Return Types

The index of the newly-added WebComboRow object within the collection.

public void AddRange(WebComboRow[] rows)

Parameters

rows

public void Clear()

Removes all WebComboRow objects from the collection.

public Rows CopyFrom(Rows passIn)

Parameters

passIn

public WebComboRow FindRowByText(string text)

Find specified text in DataTextField and return the WebComboRow object that match.

Parameters

text The text to find.

public WebComboRow FindRowByValue(string _value)

Find specified text in DataValueField and return the WebComboRow object that match.

Parameters

_value The text to find.

public IEnumerator GetEnumerator()

Returns an enumerator object for the collection.

public WebComboRow GetNamedItem(string name)

Property indexer for the collection. Uses the Name string to return an WebComboRow object.

Parameters

name

public void Insert(int index, WebComboRow row)

Inserts an WebComboRow object into the WebComboRow collection at a specified index.

Parameters

index The position in the collection for the new WebComboRow.
row The WebComboRow object to be inserted into the collection.

public void Remove(WebComboRow row)

Removes the specified WebComboRow object from the collection.

Parameters

row The WebComboRow object to be removed from the collection.

Protected Methods

protected void RemoveAt(int index)

Removes the WebComboRow object at the specified index from the collection.

Parameters

index The index of the WebComboRow object to be removed.
  • No labels