Edit

Share via


ParameterDirection Enum

Definition

Specifies the type of a parameter within a query relative to the DataSet.

public enum class ParameterDirection
public enum ParameterDirection
type ParameterDirection = 
Public Enum ParameterDirection
Inheritance
ParameterDirection

Fields

Name Value Description
Input 1

The parameter is an input parameter.

Output 2

The parameter is an output parameter.

InputOutput 3

The parameter is capable of both input and output.

ReturnValue 6

The parameter represents a return value from an operation such as a stored procedure, built-in function, or user-defined function.

Remarks

The ParameterDirection values are used by the parameter direction properties of OleDbParameter and SqlParameter.

Applies to

Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1
UWP 10.0