XmlSerializationWriter.WriteTypedPrimitive 메서드

정의

텍스트 본문이 간단한 XML 스키마 데이터 형식의 값인 XML 요소를 씁니다.

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

protected:
 void WriteTypedPrimitive(System::String ^ name, System::String ^ ns, System::Object ^ o, bool xsiType);
protected void WriteTypedPrimitive (string? name, string? ns, object o, bool xsiType);
protected void WriteTypedPrimitive (string name, string ns, object o, bool xsiType);
member this.WriteTypedPrimitive : string * string * obj * bool -> unit
Protected Sub WriteTypedPrimitive (name As String, ns As String, o As Object, xsiType As Boolean)

매개 변수

name
String

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

ns
String

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

o
Object

요소 본문에서 serialize될 개체입니다.

xsiType
Boolean

XML 요소가 true 특성을 사용하여 텍스트 값 형식을 명시적으로 지정하면 xsi:type이고, 그렇지 않으면 false입니다.

설명

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

특성은 xsi:type XML 스키마 데이터 형식을 명시적으로 나타냅니다. 접두 xsi 사는 XML 스키마 인스턴스 네임스페이스를 참조합니다.

적용 대상