Class Parameters

Provides a collection of command line parameters passed to Stonefield Query. For example, if you call Stonefield Query with the following command: C:\Program Files\Stonefield Query\SFQuery.exe "ini=C:\SFQApplication Data" user=etaylor password=diamond then the collection contains three items: one for the INI parameter, one for the USER parameter, and one for the PASSWORD parameter.

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

Class Members

MemberDescription

AddItem

Adds a member to the collection with a blank value.

public virtual object AddItem(string ItemName);

public Parameter AddItem(string Name,     object Value);

Clear

Removes all members from the collection.

public void Clear();

Item

Returns a parameters 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);

Count

The number of items in the collection.

ErrorMessage

The message for any error that occurred.

Requirements

Namespace: SFQWrapper
Assembly: sfqwrapper.dll

© Stonefield Software Inc., 2023 • Updated: 06/06/16
Comment or report problem with topic