This documentation is archived and is not being maintained.

OleDbParameter Members

OleDbParameter overview

Public Constructors

public constructorOleDbParameter Constructor Overloaded. Initializes a new instance of the OleDbParameter class.

Public Properties

public propertyDbType Gets or sets the DbType of the parameter.
public propertyDirection Gets or sets a value indicating whether the parameter is input-only, output-only, bidirectional, or a stored procedure return value parameter.
public propertyIsNullable Gets or sets a value indicating whether the parameter accepts null values.
public propertyOleDbType Gets or sets the OleDbType of the parameter.
public propertyParameterName Gets or sets the name of the OleDbParameter.
public propertyPrecision Gets or sets the maximum number of digits used to represent the Value property.
public propertyScale Gets or sets the number of decimal places to which Value is resolved.
public propertySize Gets or sets the maximum size, in bytes, of the data within the column.
public propertySourceColumn Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value.
public propertySourceVersion Gets or sets the DataRowVersion to use when loading Value.
public propertyValue Gets or sets the value of the parameter.

Public Methods

public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodToString Overridden. Gets a string containing the ParameterName.

Protected Methods

protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

OleDbParameter Class | System.Data.OleDb Namespace