Sdílet prostřednictvím


IDataParameter.Value Property

Definition

Gets or sets the value of the parameter.

public:
 property System::Object ^ Value { System::Object ^ get(); void set(System::Object ^ value); };
public object Value { get; set; }
member this.Value : obj with get, set
Public Property Value As Object

Property Value

An Object that is the value of the parameter. The default value is Null.

Remarks

For input parameters, the value is bound to the IDbCommand that is sent to the server. For output and return value parameters, the value is set on completion of the IDbCommand and after the IDataReader is closed.

Applies to