OleDbParameter Constructor ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the OleDbParameter class.

Namespace:   System.Data.OleDb
Assembly:  System.Data (in System.Data.dll)

Public Sub New

The following example creates an OleDbParameter and sets some of its properties.

Public Sub CreateOleDbParameter()
    Dim parameter As New OleDbParameter()
    parameter.ParameterName = "Description"
    parameter.OleDbType = OleDbType.VarChar
    parameter.Direction = ParameterDirection.Output
    parameter.Size = 88
End Sub 

.NET Framework
Available since 1.1
Return to top
Show: