SqlChars SqlChars SqlChars SqlChars Constructors

定义

重载

SqlChars() SqlChars() SqlChars()

初始化 SqlChars 类的新实例。Initializes a new instance of the SqlChars class.

SqlChars(Char[]) SqlChars(Char[]) SqlChars(Char[]) SqlChars(Char[])

根据指定的字符数组初始化 SqlChars 类的新实例。Initializes a new instance of the SqlChars class based on the specified character array.

SqlChars(SqlString) SqlChars(SqlString) SqlChars(SqlString) SqlChars(SqlString)

根据指定的 SqlChars 值初始化 SqlString 类的新实例。Initializes a new instance of the SqlChars class based on the specified SqlString value.

注解

有关允许的最大长度SqlChars由公共语言运行时的最大大小为 int32 类型绑定 (2,147,483,647)。The maximum length allowed for SqlChars is bound by the common language runtime maximum size of an Int32 (2,147,483,647).

SqlChars() SqlChars() SqlChars()

初始化 SqlChars 类的新实例。Initializes a new instance of the SqlChars class.

public:
 SqlChars();
public SqlChars ();
Public Sub New ()

注解

有关允许的最大长度SqlChars由公共语言运行时的最大大小为 int32 类型绑定 (2,147,483,647)。The maximum length allowed for SqlChars is bound by the common language runtime maximum size of an Int32 (2,147,483,647).

另请参阅

SqlChars(Char[]) SqlChars(Char[]) SqlChars(Char[]) SqlChars(Char[])

根据指定的字符数组初始化 SqlChars 类的新实例。Initializes a new instance of the SqlChars class based on the specified character array.

public:
 SqlChars(cli::array <char> ^ buffer);
public SqlChars (char[] buffer);
new System.Data.SqlTypes.SqlChars : char[] -> System.Data.SqlTypes.SqlChars
Public Sub New (buffer As Char())

参数

buffer
Char[]

Char 数组。A Char array.

注解

有关允许的最大长度SqlChars由公共语言运行时的最大大小为 int32 类型绑定 (2,147,483,647)。The maximum length allowed for SqlChars is bound by the common language runtime maximum size of an Int32 (2,147,483,647).

实例中传递一个空引用,如果将设置为 null。If a null reference is passed in, the instance is set to null.

另请参阅

SqlChars(SqlString) SqlChars(SqlString) SqlChars(SqlString) SqlChars(SqlString)

根据指定的 SqlChars 值初始化 SqlString 类的新实例。Initializes a new instance of the SqlChars class based on the specified SqlString value.

public:
 SqlChars(System::Data::SqlTypes::SqlString value);
public SqlChars (System.Data.SqlTypes.SqlString value);
new System.Data.SqlTypes.SqlChars : System.Data.SqlTypes.SqlString -> System.Data.SqlTypes.SqlChars
Public Sub New (value As SqlString)

参数

注解

有关允许的最大长度SqlChars由公共语言运行时的最大大小为 int32 类型绑定 (2,147,483,647)。The maximum length allowed for SqlChars is bound by the common language runtime maximum size of an Int32 (2,147,483,647).

实例中传递一个空引用,如果将设置为 null。If a null reference is passed in, the instance is set to null.

另请参阅

适用于