Bewerken

Delen via


SqlChars Constructors

Definition

Initializes a new instance of the SqlChars class.

Overloads

SqlChars()

Initializes a new instance of the SqlChars class.

SqlChars(Char[])

Initializes a new instance of the SqlChars class based on the specified character array.

SqlChars(SqlString)

Initializes a new instance of the SqlChars class based on the specified SqlString value.

Remarks

The maximum length allowed for SqlChars is bound by the common language runtime maximum size of an Int32 (2,147,483,647).

SqlChars()

Source:
SQLChars.cs
Source:
SQLChars.cs
Source:
SQLChars.cs

Initializes a new instance of the SqlChars class.

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

Remarks

The maximum length allowed for SqlChars is bound by the common language runtime maximum size of an Int32 (2,147,483,647).

See also

Applies to

SqlChars(Char[])

Source:
SQLChars.cs
Source:
SQLChars.cs
Source:
SQLChars.cs

Initializes a new instance of the SqlChars class based on the specified character array.

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

Parameters

buffer
Char[]

A Char array.

Remarks

The maximum length allowed for SqlChars is bound by the common language runtime maximum size of an Int32 (2,147,483,647).

If a null reference is passed in, the instance is set to null.

See also

Applies to

SqlChars(SqlString)

Source:
SQLChars.cs
Source:
SQLChars.cs
Source:
SQLChars.cs

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)

Parameters

value
SqlString

A SqlString.

Remarks

The maximum length allowed for SqlChars is bound by the common language runtime maximum size of an Int32 (2,147,483,647).

If a null reference is passed in, the instance is set to null.

See also

Applies to