Share via


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

Protected method

DataParameter

Overloaded.

Top

Methods

 

Name

Description

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Protected method

GetDirectionImpl

Retrieves the parameter direction.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Protected method

GetIsNullableImpl

Retrieves a Boolean value indicating whether or not this parameter can be nulla null reference (Nothing in Visual Basic).

Protected method

GetIsOptionalImpl

Retrieves a Boolean value indicating whether this parameter is optional.

Protected method

GetNameImpl

Retrieves the name of the parameter.

Protected method

GetPrecisionImpl

Retrieves a byte value specifying the precision of the parameter.

Protected method

GetScaleImpl

Retrieves a byte value specifying the scale of the parameter.

Protected method

GetSizeImpl

Retrieves an integer value specifying the size of the parameter.

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

GetTypeFrom

Infers the data-source-specific parameter type from a parameter value.

Protected method

GetTypeImpl

Retrieves the data-source-specific type of the parameter.

Protected method

GetValueImpl

Retrieves the value of a specified parameter.

Protected method

IsSupportedDirection

Retrieves a Boolean value indicating whether the specified parameter direction is supported.

Protected method

IsValidType

Retrieves a Boolean value indicating whether the specified data-source-specific type is a valid type.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnDirectionChanged

Called when the Direction property is changed to signal a change in the parameter direction.

Protected method

OnDirectionChanging

Called when the Direction property is about to change.

Protected method

OnNameChanged

Called when the Name property has changed.

Protected method

OnNameChanging

Called when the Name property is about to change.

Protected method

OnPrecisionChanged

Called when the Precision property has changed.

Protected method

OnPrecisionChanging

Called when the Precision property is about to change.

Protected method

OnScaleChanged

Called when the Scale property has changed.

Protected method

OnScaleChanging

Called when the Scale property is about to change.

Protected method

OnSizeChanged

Called when the Size property has changed.

Protected method

OnSizeChanging

Called when the Size property is about to change.

Protected method

OnTypeChanged

Called when the Type property has changed.

Protected method

OnTypeChanging

Called when the Type property is about to change.

Protected method

OnValueChanged

Called when the Value property has changed.

Protected method

OnValueChanging

Called when the Value property is about to change.

Public method

Parse

Disassembles a parameter value in a string format and converts the value to the correct type.

Protected method

SetDirectionImpl

Sets the direction of the parameter using the DataParameterDirection enumeration.

Protected method

SetNameImpl

Sets the name of the parameter.

Protected method

SetPrecisionImpl

Sets a byte value specifying the precision of the parameter.

Protected method

SetScaleImpl

Sets a byte value specifying the scale of the parameter.

Protected method

SetSizeImpl

Sets an integer value specifying the size of this parameter.

Protected method

SetTypeImpl

Sets the data type of this parameter.

Protected method

SetValueImpl

Sets the value of this parameter.

Public method

ToString

Retrieves a string representation of the value of this parameter. (Overrides Object.ToString().)

Protected method

TryConvertValue

Attempts to convert the specified value to the specified type.

Top

Properties

 

Name

Description

Protected property

DefaultPrecision

Retrieves a byte value specifying the default precision for the current parameter type.

Protected property

DefaultScale

Retrieves a byte value specifying the default scale for the current parameter type.

Protected property

DefaultSize

Retrieves and integer value specifying the default size for the current parameter type.

Public property

Direction

Retrieves or sets a DataParameterDirection object specifying the direction of the parameter.

Public property

IsDerived

Retrieves a Boolean value that indicates whether this parameter was derived from the data source.

Protected property

IsFixedPrecision

Retrieves a Boolean value indicating whether the precision for the current parameter type is fixed.

Protected property

IsFixedScale

Retrieves a Boolean value indicating whether the scale for the current parameter type is fixed.

Protected property

IsFixedSize

Retrieves a Boolean value indicating whether the size for the current parameter type is fixed.

Public property

IsNullable

Retrieves a Boolean value indicating whether this parameter can have a nulla null reference (Nothing in Visual Basic) value.

Public property

IsOptional

Retrieves a Boolean value indicating whether this parameter is optional, in cases where this parameter is a derived parameter.

Public property

Name

Retrieves or sets the string literal name of the parameter.

Public property

Precision

Retrieves or sets a byte value specifying the precision of the parameter.

Public property

Scale

Retrieves or sets a byte value specifying the scale of the parameter.

Public property

Size

Retrieves or sets an integer value specifying the size of the parameter.

Public property

Type

Retrieves or sets the data-source-specific type of the parameter.

Public property

Value

Retrieves or sets the value of the parameter.

Top

See Also

Reference

DataParameter Class

Microsoft.VisualStudio.Data Namespace