Sdílet prostřednictvím


SqlCeParameter Constructor

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Initializes a new instance of the SqlCeParameter class.

Overload List

Initializes a new instance of the SqlCeParameter class.

Supported only by the .NET Compact Framework.

[Visual Basic] Public Sub New()

[C#] public SqlCeParameter();

[C++] public: SqlCeParameter();

[JScript] public function SqlCeParameter();

Initializes a new instance of the SqlCeParameter class with the parameter name and the value of the new SqlCeParameter.

Supported only by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, Object)

[C#] public SqlCeParameter(string, object);

[C++] public: SqlCeParameter(String*, Object*);

[JScript] public function SqlCeParameter(String, Object);

Initializes a new instance of the SqlCeParameter class with the parameter name and data type.

Supported only by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, SqlDbType)

[C#] public SqlCeParameter(string, SqlDbType);

[C++] public: SqlCeParameter(String*, SqlDbType);

[JScript] public function SqlCeParameter(String, SqlDbType);

Initializes a new instance of the SqlCeParameter class with the parameter name, data type, and length.

Supported only by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, SqlDbType, Integer)

[C#] public SqlCeParameter(string, SqlDbType, int);

[C++] public: SqlCeParameter(String*, SqlDbType, int);

[JScript] public function SqlCeParameter(String, SqlDbType, int);

Initializes a new instance of the SqlCeParameter class with the parameter name, data type, length, and source column name.

Supported only by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, SqlDbType, Integer, String)

[C#] public SqlCeParameter(string, SqlDbType, int, string);

[C++] public: SqlCeParameter(String*, SqlDbType, int, String*);

[JScript] public function SqlCeParameter(String, SqlDbType, int, String);

Initializes a new instance of the SqlCeParameter class with the parameter name, data type, length, source column name, parameter direction, numeric precision, and other properties. SQL Server CE only supports input parameters.

Supported only by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, SqlDbType, Integer, Boolean, Byte, Byte, String, DataRowVersion, Object)

[C#] public SqlCeParameter(string, SqlDbType, int, bool, byte, byte, string, DataRowVersion, object);

[C++] public: SqlCeParameter(String*, SqlDbType, int, bool, unsigned char, unsigned char, String*, DataRowVersion, Object*);

[JScript] public function SqlCeParameter(String, SqlDbType, int, Boolean, Byte, Byte, String, DataRowVersion, Object);

See Also

SqlCeParameter Class | SqlCeParameter Members | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.