1 out of 20 rated this helpful - Rate this topic

ParameterDirection Enumeration

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

Namespace: System.Data
Assembly: System.Data (in system.data.dll)

public enum ParameterDirection
public enum ParameterDirection
public enum ParameterDirection
  Member name Description
Supported by the .NET Compact Framework Input The parameter is an input parameter. 
Supported by the .NET Compact Framework InputOutput The parameter is capable of both input and output. 
Supported by the .NET Compact Framework Output The parameter is an output parameter. 
Supported by the .NET Compact Framework ReturnValue The parameter represents a return value from an operation such as a stored procedure, built-in function, or user-defined function. 

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

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0, 1.0
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Output parameters and ExceuteReader
When an output parameter is used in query (usually stored procedure call) which returns resulset(s) and it's execured using ExcuteReader, you must close the reader before you can read values of output parameters. At least for SqlClient.