XmlSerializationWriter.WriteNullableStringEncoded 메서드

정의

본문에 문자열이 포함되어 있는 XML 요소를 씁니다. XmlWriter는 문자열 값이 xsi:nil='true'인 경우 null 특성을 삽입합니다.

이 API는 제품 인프라를 지원하며 코드에서 직접 사용되지 않습니다.

protected:
 void WriteNullableStringEncoded(System::String ^ name, System::String ^ ns, System::String ^ value, System::Xml::XmlQualifiedName ^ xsiType);
protected void WriteNullableStringEncoded (string name, string? ns, string? value, System.Xml.XmlQualifiedName? xsiType);
protected void WriteNullableStringEncoded (string name, string ns, string value, System.Xml.XmlQualifiedName xsiType);
member this.WriteNullableStringEncoded : string * string * string * System.Xml.XmlQualifiedName -> unit
Protected Sub WriteNullableStringEncoded (name As String, ns As String, value As String, xsiType As XmlQualifiedName)

매개 변수

name
String

쓸 XML 요소의 로컬 이름입니다.

ns
String

쓸 XML 요소의 네임스페이스입니다.

value
String

XML 요소의 본문에 쓸 문자열입니다.

xsiType
XmlQualifiedName

xsi:type 특성에 쓰여질 XML 스키마 데이터 형식의 이름입니다.

설명

보호된 멤버 XmlSerializationWriter 는 .NET Framework XML serialization 인프라 내에서 내부적으로 사용되는 파생 클래스에서만 사용하기 위한 것입니다.

설정하면 true``nil XML 스키마 인스턴스 네임스페이스(약어xsi)의 특성이 null 값을 나타냅니다.

WriteNullableStringEncoded 메서드는 SOAP 1.1 사양의 섹션 5에 설명된 대로 SOAP로 인코딩된 XML을 작성할 때만 호출됩니다.

적용 대상