SqlChars Classe
Definição
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
- Herança
-
SqlChars
- Atributos
- Implementações
Comentários
SqlChars pode ser obtido para varchar valores,,,, nvarchar char nchar text e ntext , ou pode ser criado em um buffer não gerenciado.SqlChars can be obtained for varchar, nvarchar, char, nchar, text, and ntext values, or can be created over an unmanaged buffer.
Construtores
| SqlChars() |
Inicializa uma nova instância da classe SqlChars.Initializes a new instance of the SqlChars class. |
| SqlChars(Char[]) |
Inicializa uma nova instância da classe SqlChars com base na matriz de caracteres especificada.Initializes a new instance of the SqlChars class based on the specified character array. |
| SqlChars(SqlString) |
Inicializa uma nova instância da classe SqlChars com base no valor de SqlString especificado.Initializes a new instance of the SqlChars class based on the specified SqlString value. |
Propriedades
| Buffer |
Retorna uma referência para o buffer interno.Returns a reference to the internal buffer. |
| IsNull |
Obtém um valor booliano que indica se esta SqlChars é nula.Gets a Boolean value that indicates whether this SqlChars is null. |
| Item[Int64] |
Obtém ou define a instância SqlChars no índice especificado.Gets or sets the SqlChars instance at the specified index. |
| Length |
Obtém o comprimento do valor contido na instância de SqlChars.Gets the length of the value that is contained in the SqlChars instance. |
| MaxLength |
Obtém o comprimento máximo em caracteres de dois bytes que pode ser contido pelo buffer interno.Gets the maximum length in two-byte characters of the value the internal buffer can hold. |
| Null |
Retorna uma instância nula deste SqlChars.Returns a null instance of this SqlChars. |
| Storage |
Retorna informações sobre o estado de armazenamento desta instância de SqlChars.Returns information about the storage state of this SqlChars instance. |
| Value |
Retorna uma cópia gerenciada do valor mantido por esse SqlChars.Returns a managed copy of the value held by this SqlChars. |
Métodos
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| GetXsdType(XmlSchemaSet) |
Retorna a XSD (linguagem de definição de esquema XML) do XmlSchemaSet especificado.Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| Read(Int64, Char[], Int32, Int32) |
Copia bytes desta instância de SqlChars para o buffer passado e retorna o número de caracteres copiados.Copies characters from this SqlChars instance to the passed-in buffer and returns the number of copied characters. |
| SetLength(Int64) |
Define o comprimento desta instância de SqlChars.Sets the length of this SqlChars instance. |
| SetNull() |
Define esta instância de SqlChars como nula.Sets this SqlChars instance to null. |
| ToSqlString() |
Converte essa instância de SqlChars na representação de sua SqlString equivalente.Converts this SqlChars instance to its equivalent SqlString representation. |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |
| Write(Int64, Char[], Int32, Int32) |
Copia caracteres do buffer passado para esta instância de SqlChars.Copies characters from the passed-in buffer to this SqlChars instance. |
Operadores
| Explicit(SqlChars to SqlString) |
Converte uma estrutura SqlChars em uma estrutura SqlString.Converts a SqlChars structure to a SqlString structure. |
| Explicit(SqlString to SqlChars) |
Converte uma estrutura SqlString em uma estrutura SqlChars.Converts a SqlString structure to a SqlChars structure. |
Implantações explícitas de interface
| ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
Obtém informações de serialização com todos os dados necessários para reinstanciar esta instância de SqlChars.Gets serialization information with all the data needed to reinstantiate this SqlChars instance. |
| IXmlSerializable.GetSchema() |
Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
| IXmlSerializable.ReadXml(XmlReader) |
Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
| IXmlSerializable.WriteXml(XmlWriter) |
Esse membro oferece suporte à infraestrutura .NET Framework e não se destina à utilização diretamente no seu código.This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |