DesignerDataParameter.Direction 属性

定义

获取一个值,该值指示参数是只可输入、只可输出、双向或存储过程返回值参数。Gets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return-value parameter.

public:
 property System::Data::ParameterDirection Direction { System::Data::ParameterDirection get(); };
public System.Data.ParameterDirection Direction { get; }
member this.Direction : System.Data.ParameterDirection
Public ReadOnly Property Direction As ParameterDirection

属性值

ParameterDirection

ParameterDirection 值之一。One of the ParameterDirection values.

注解

使用 Direction 属性来指示参数是传递到存储过程、从存储过程返回还是同时返回这两者。Use the Direction property to indicate whether a parameter is passed into a stored procedure, returned from a stored procedure, or both.

适用于