DataParameter Members
Include Protected Members
Include Inherited Members
Represents a data parameter that is derived from a data source command, or that is passed with a command to a data source.
The DataParameter type exposes the following members.
Constructors
Name
Description
Overloaded. Initializes a new instance of the DataParameter class.
Top
Methods
Name
Description
Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Retrieves the parameter direction.
Serves as a hash function for a particular type. (Inherited from Object.)
Retrieves a Boolean value indicating whether the current parameter can be nulla null reference (Nothing in Visual Basic).
Retrieves a Boolean value indicating whether the parameter is optional.
Retrieves the name of the parameter.
Retrieves an integer value specifying the size of the parameter.
Gets the type of the current instance. (Inherited from Object.)
Retrieves the data source–specific type of the parameter.
Infers the data source–specific parameter type from a parameter value.
Retrieves the value of a specified parameter.
Retrieves a Boolean value indicating whether the specified parameter direction is supported.
Retrieves a Boolean value indicating whether the specified data source–specific type is a valid type.
Creates a shallow copy of the current Object. (Inherited from Object.)
Called when the Direction property is changed to signal a change in the parameter direction.
Called when the Direction property is about to change.
Called when the Name property has changed.
Called when the Name property is about to change.
Called when the Size property has changed.
Called when the Size property is about to change.
Called when the Type property has changed.
Called when the Type property is about to change.
Called when the Value property has changed.
Called when the Value property is about to change.
Disassembles a parameter value in a string format and converts the value to the correct type.
Sets the direction of the parameter by using the DataParameterDirection enumeration.
Sets the name of the parameter.
Sets an integer value specifying the size of the current parameter.
Sets the data type of the current parameter.
Sets the value of the parameter.
Retrieves a string representation of the value of the current parameter. (Overrides Object.ToString().)
Attempts to convert the specified value to the specified type.
Top
Fields
Name
Description
A public size constant holding the value of zero.
Top
Properties
Name
Description
Gets an integer value specifying the default size for the current parameter type.
Gets information that describes the data parameter.
Gets or sets a DataParameterDirection object specifying the direction of the parameter.
Gets a value indicating whether the data parameter exposes its IVsDataParameterDescriptor implementation through the Descriptor property.
Gets a Boolean value that indicates whether the current parameter was derived from the data source.
Gets a Boolean value indicating whether the size for the current parameter type is fixed.
Gets a Boolean value indicating whether the current parameter can have a null value provided that it is derived.
Gets a Boolean value indicating whether the current parameter is optional, provided that it is derived.
Gets or sets the string literal name of the current parameter.
Gets or sets an integer value specifying the size of the parameter.
Gets or sets the data source–specific type of the parameter.
Gets or sets the value of the parameter.
Top