ParameterDirection ParameterDirection ParameterDirection ParameterDirection Enum

定义

指定查询内的有关 DataSet 的参数的类型。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
继承
ParameterDirectionParameterDirectionParameterDirectionParameterDirection

字段

Input Input Input Input 1

该参数为输入参数。The parameter is an input parameter.

InputOutput InputOutput InputOutput InputOutput 3

参数既能输入,也能输出。The parameter is capable of both input and output.

Output Output Output Output 2

该参数为输出参数。The parameter is an output parameter.

ReturnValue ReturnValue ReturnValue ReturnValue 6

该参数表示从某操作(如存储过程、内置函数或用户定义的函数)返回的值。The parameter represents a return value from an operation such as a stored procedure, built-in function, or user-defined function.

注解

ParameterDirection的参数方向属性使用值OleDbParameterSqlParameterThe ParameterDirection values are used by the parameter direction properties of OleDbParameter and SqlParameter.

适用于