The DataField type exposes the following members.

Constructors

  NameDescription
Public methodDataField
Initializes a new instance of the DataField class for use in a requesting dataform.

Methods

  NameDescription
Protected methodAssertType
Asserts the data-field is of the specified type.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a textual XML representation of the data-field.
(Overrides Object..::..ToString()()()().)
Public methodToXmlElement
Returns an XmlElement instance representing the data-field.

Fields

  NameDescription
Protected fieldelement
The underlying XML element representing the data-field.

Properties

  NameDescription
Public propertyDescription
A natural-language description of the field, intended for presentation in a user-agent.
Public propertyLabel
A human-readable name for the field.
Public propertyName
The name of the field.
Public propertyRequired
Determines whether the field is required to fill out, or optional.
Public propertyType
The type of the field or null if no type has been specified.
Public propertyValues
Returns a collection of the data-field's values.

See Also