System.Data.Common.DbParameter.Direction Property

Gets or sets a value that indicates whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.

Syntax

[System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)]
[System.ComponentModel.DefaultValue(System.Data.ParameterDirection.Input)]
public abstract System.Data.ParameterDirection Direction { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If the System.Data.ParameterDirection is output, and execution of the associated System.Data.Common.DbCommand does not return a value, the System.Data.Common.DbParameter contains a null value.

Output, InputOut, and ReturnValue parameters returned by calling DbCommand.ExecuteReader cannot be accessed until you call DbDataReader.Close or DbDataReader.Dispose on the System.Data.Common.DbDataReader.

Requirements

Namespace: System.Data.Common
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0