SqlChars 클래스

정의

SqlCharsChar 배열 또는 SqlString 인스턴스를 래핑하는 변경 가능한 참조 형식입니다.

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
상속
SqlChars
특성
구현

설명

SqlChars는 ,, nvarchar, text``char``ncharntext 값에 대해 varchar가져올 수 있거나 관리되지 않는 버퍼를 통해 만들 수 있습니다.

생성자

SqlChars()

SqlChars 클래스의 새 인스턴스를 초기화합니다.

SqlChars(Char[])

지정된 문자 배열을 기반으로 SqlChars 클래스의 새 인스턴스를 초기화합니다.

SqlChars(SqlString)

지정된 SqlChars 값을 기반으로 SqlString 클래스의 새 인스턴스를 초기화합니다.

속성

Buffer

내부 버퍼에 대한 참조를 반환합니다.

IsNull

SqlChars가 null인지 여부를 나타내는 부울 값을 가져옵니다.

Item[Int64]

지정한 인덱스에 있는 SqlChars 인스턴스를 가져오거나 설정합니다.

Length

SqlChars 인스턴스에 포함되어 있는 값의 길이를 가져옵니다.

MaxLength

내부 버퍼에서 보유할 수 있는 2바이트 문자 값의 최대 길이를 가져옵니다.

Null

SqlChars의 null 인스턴스를 반환합니다.

Storage

SqlChars 인스턴스의 스토리지 상태에 대한 정보를 반환합니다.

Value

SqlChars가 보유하고 있는 값의 관리되는 복사본을 반환합니다.

메서드

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
GetXsdType(XmlSchemaSet)

지정된 XmlSchemaSet의 XSD(XML 스키마 정의 언어)를 반환합니다.

MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
Read(Int64, Char[], Int32, Int32)

SqlChars 인스턴스의 문자를 전달된 버퍼로 복사한 다음 복사된 문자의 수를 반환합니다.

SetLength(Int64)

SqlChars 인스턴스의 길이를 설정합니다.

SetNull()

SqlChars 인스턴스를 null로 설정합니다.

ToSqlString()

SqlChars 인스턴스를 해당 SqlString 표현으로 변환합니다.

ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)
Write(Int64, Char[], Int32, Int32)

전달된 버퍼의 문자를 이 SqlChars 인스턴스로 복사합니다.

연산자

Explicit(SqlChars to SqlString)

SqlChars 구조체를 SqlString 구조체로 변환합니다.

Explicit(SqlString to SqlChars)

SqlString 구조체를 SqlChars 구조체로 변환합니다.

명시적 인터페이스 구현

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

SqlChars 인스턴스를 다시 인스턴스화하는 데 필요한 데이터가 모두 들어 있는 serialization 정보를 가져옵니다.

IXmlSerializable.GetSchema()

이 멤버는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다.

IXmlSerializable.ReadXml(XmlReader)

이 멤버는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다.

IXmlSerializable.WriteXml(XmlWriter)

이 멤버는 .NET Framework 인프라를 지원하며 사용자 코드에서 직접 사용할 수 없습니다.

적용 대상

추가 정보