SqlChars Class
.NET Framework 4.5
Namespace: System.Data.SqlTypes
Assembly: System.Data (in System.Data.dll)
The SqlChars type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | SqlChars() | Initializes a new instance of the SqlChars class. |
![]() ![]() | SqlChars(array<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. |
| Name | Description | |
|---|---|---|
![]() ![]() | Buffer | Returns a reference to the internal buffer. |
![]() ![]() | IsNull | Gets a Boolean value that indicates whether this SqlChars is null. |
![]() ![]() | Item | Gets or sets the SqlChars instance at the specified index. |
![]() ![]() | Length | Gets the length of the value that is contained in the SqlChars instance. |
![]() ![]() | MaxLength | Gets the maximum length in two-byte characters of the value the internal buffer can hold. |
![]() ![]() ![]() | Null | Returns a null instance of this SqlChars. |
![]() ![]() | Storage | Returns information about the storage state of this SqlChars instance. |
![]() ![]() | Value | Returns a managed copy of the value held by this SqlChars. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() | GetXsdType | Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
![]() ![]() | Read | Copies characters from this SqlChars instance to the passed-in buffer and returns the number of copied characters. |
![]() ![]() | SetLength | Sets the length of this SqlChars instance. |
![]() ![]() | SetNull | Sets this SqlChars instance to null. |
![]() ![]() | ToSqlString | Converts this SqlChars instance to its equivalent SqlString representation. |
![]() ![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() ![]() | Write | Copies characters from the passed-in buffer to this SqlChars instance. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Explicit(SqlChars to SqlString) | Converts a SqlChars structure to a SqlString structure. |
![]() ![]() ![]() | Explicit(SqlString to SqlChars) | Converts a SqlString structure to a SqlChars structure. |
| Name | Description | |
|---|---|---|
![]() ![]() | ISerializable::GetObjectData | Gets serialization information with all the data needed to reinstantiate this SqlChars instance. |
![]() ![]() ![]() | IXmlSerializable::GetSchema | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() ![]() ![]() | IXmlSerializable::ReadXml | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() ![]() ![]() | IXmlSerializable::WriteXml | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
.gif?cs-save-lang=1&cs-lang=cpp)
.gif?cs-save-lang=1&cs-lang=cpp)
.gif?cs-save-lang=1&cs-lang=cpp)
.gif?cs-save-lang=1&cs-lang=cpp)
.gif?cs-save-lang=1&cs-lang=cpp)
.gif?cs-save-lang=1&cs-lang=cpp)
.gif?cs-save-lang=1&cs-lang=cpp)