SqlChars Klasa
Definicja
public ref class SqlChars sealed : System::Data::SqlTypes::INullable, System::Runtime::Serialization::ISerializable, System::Xml::Serialization::IXmlSerializable
public ref class SqlChars sealed : System::Data::SqlTypes::INullable
public sealed class SqlChars : System.Data.SqlTypes.INullable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable
public sealed class SqlChars : System.Data.SqlTypes.INullable
[System.Serializable]
public sealed class SqlChars : System.Data.SqlTypes.INullable, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable
type SqlChars = class
interface INullable
interface ISerializable
interface IXmlSerializable
type SqlChars = class
interface INullable
[<System.Serializable>]
type SqlChars = class
interface INullable
interface IXmlSerializable
interface ISerializable
Public NotInheritable Class SqlChars
Implements INullable, ISerializable, IXmlSerializable
Public NotInheritable Class SqlChars
Implements INullable
- Dziedziczenie
-
SqlChars
- Atrybuty
- Implementuje
Uwagi
SqlChars może być uzyskiwany varchar
dla nvarchar
wartości,,,, char
nchar
text
i ntext
, lub można ją utworzyć za pośrednictwem niezarządzanego buforu.SqlChars can be obtained for varchar
, nvarchar
, char
, nchar
, text
, and ntext
values, or can be created over an unmanaged buffer.
Konstruktory
SqlChars() |
Inicjuje nowe wystąpienie klasy SqlChars.Initializes a new instance of the SqlChars class. |
SqlChars(Char[]) |
Inicjuje nowe wystąpienie SqlChars klasy w oparciu o określoną tablicę znaków.Initializes a new instance of the SqlChars class based on the specified character array. |
SqlChars(SqlString) |
Inicjuje nowe wystąpienie SqlChars klasy na podstawie określonej SqlString wartości.Initializes a new instance of the SqlChars class based on the specified SqlString value. |
Właściwości
Buffer |
Zwraca odwołanie do bufora wewnętrznego.Returns a reference to the internal buffer. |
IsNull |
Pobiera wartość logiczną wskazującą, czy jest to wartość SqlChars null.Gets a Boolean value that indicates whether this SqlChars is null. |
Item[Int64] |
Pobiera lub ustawia SqlChars wystąpienie o określonym indeksie.Gets or sets the SqlChars instance at the specified index. |
Length |
Pobiera długość wartości, która jest zawarta w SqlChars wystąpieniu.Gets the length of the value that is contained in the SqlChars instance. |
MaxLength |
Pobiera maksymalną długość w dwubajtowych znakach wartości, która może być przechowywana w buforze wewnętrznym.Gets the maximum length in two-byte characters of the value the internal buffer can hold. |
Null |
Zwraca wystąpienie o wartości null SqlChars .Returns a null instance of this SqlChars. |
Storage |
Zwraca informacje o stanie magazynu tego SqlChars wystąpienia.Returns information about the storage state of this SqlChars instance. |
Value |
Zwraca zarządzaną kopię wartości przechowywanej przez ten element SqlChars .Returns a managed copy of the value held by this SqlChars. |
Metody
Equals(Object) |
Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.Determines whether the specified object is equal to the current object. (Odziedziczone po Object) |
GetHashCode() |
Służy jako domyślna funkcja skrótu.Serves as the default hash function. (Odziedziczone po Object) |
GetType() |
Pobiera Type bieżące wystąpienie.Gets the Type of the current instance. (Odziedziczone po Object) |
GetXsdType(XmlSchemaSet) |
Zwraca język definicji schematu XML (XSD) określonego XmlSchemaSet .Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
MemberwiseClone() |
Tworzy skróconą kopię bieżącego elementu Object .Creates a shallow copy of the current Object. (Odziedziczone po Object) |
Read(Int64, Char[], Int32, Int32) |
Kopiuje znaki z tego SqlChars wystąpienia do buforu przekazywania i zwraca liczbę skopiowanych znaków.Copies characters from this SqlChars instance to the passed-in buffer and returns the number of copied characters. |
SetLength(Int64) |
Ustawia długość tego SqlChars wystąpienia.Sets the length of this SqlChars instance. |
SetNull() |
Ustawia SqlChars wartość null dla tego wystąpienia.Sets this SqlChars instance to null. |
ToSqlString() |
Konwertuje to SqlChars wystąpienie na jego równoważną SqlString reprezentację.Converts this SqlChars instance to its equivalent SqlString representation. |
ToString() |
Zwraca ciąg reprezentujący bieżący obiekt.Returns a string that represents the current object. (Odziedziczone po Object) |
Write(Int64, Char[], Int32, Int32) |
Kopiuje znaki z buforu przekazywania do tego SqlChars wystąpienia.Copies characters from the passed-in buffer to this SqlChars instance. |
Operatory
Explicit(SqlChars to SqlString) |
Konwertuje SqlChars strukturę na SqlString strukturę.Converts a SqlChars structure to a SqlString structure. |
Explicit(SqlString to SqlChars) |
Konwertuje SqlString strukturę na SqlChars strukturę.Converts a SqlString structure to a SqlChars structure. |
Jawne implementacje interfejsu
ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
Pobiera informacje serializacji ze wszystkimi danymi wymaganymi do wystąpienia tego SqlChars wystąpienia.Gets serialization information with all the data needed to reinstantiate this SqlChars instance. |
IXmlSerializable.GetSchema() |
Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
IXmlSerializable.ReadXml(XmlReader) |
Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
IXmlSerializable.WriteXml(XmlWriter) |
Ten element członkowski obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |