The DataSetField type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataSetField()()()() |
Initializes a new instance of the DataSetField class.
|
|
DataSetField(String) |
Initializes a new instance of the DataSetField class,
assigning the Name of this field.
|
|
DataSetField(String, String) |
Initializes a new instance of the DataSetField class,
assigning the Name and the associated DB field.
|
Methods
Name | Description | |
---|---|---|
AssignFrom |
Assigns (copies) properties from another DataSetField to the current object.
(Overrides NamedCollectionItem..::..AssignFrom(NamedCollectionItem).) |
|
SetName |
Sets the name of the current item.
(Inherited from NamedCollectionItem.) |
|
SetNameInt |
For internal use.
(Inherited from NamedCollectionItem.) |
Properties
Name | Description | |
---|---|---|
DataField |
Gets or sets the name of the corresponding DB field in the query.
If this property is not empty, the field is a data field (as opposed to a calculated field). |
|
Expression |
Gets the Expression used
to calculate the value of the current field.
If this expression is not empty, the field is a calculated field (as opposed to a data field). |
|
ExpressionText |
Gets or sets the text of the Expression
used to calculate the value of the current field.
This is a shortcut to the Text property on the expression returned by Expression. |
|
Name |
Gets or sets the unique name of the current object.
If an item with the specified name already exists in the collection,
an exception is thrown.
(Inherited from NamedCollectionItem.) |
|
Owner |
Gets the NamedCollection containing the current object.
(Inherited from NamedCollectionItem.) |