Class Fields

Pprovides a collection of Field objects for all fields in a Stonefield Query project.

System.Object
  SFQWrapper.SQBase
    SFQWrapper.SQCollection
      SFQWrapper.Fields
public class Fields : SQCollection, IEnumerable

Class Members

MemberDescription

AddItem

Adds a new Field to the collection and returns a reference to the new Field.

public virtual object AddItem(string ItemName);

public Field AddItem(Field Item);

Clear

Removes all members from the collection.

public void Clear();

Item

Returns a Field object by name.

public virtual object Item(string ItemName);

public virtual object Item(int Index);

RemoveItem

Removes an item from the collection by index.

public virtual bool RemoveItem(int Index);

public virtual bool RemoveItem(string ItemName);

AliasFilter

Set this to the name of a table to access only those fields in that table through this collection. Set this to String.Empty to access all fields from all tables.

Count

The number of items in the collection.

ErrorMessage

The message for any error that occurred.

Requirements

Namespace: SFQWrapper
Assembly: sfqwrapper.dll