XmlSchemaComplexType.ContentType 속성

정의

컴파일 이후 값을 보유하는 복합 형식의 콘텐츠 모델을 가져옵니다.

public:
 property System::Xml::Schema::XmlSchemaContentType ContentType { System::Xml::Schema::XmlSchemaContentType get(); };
public System.Xml.Schema.XmlSchemaContentType ContentType { get; }
member this.ContentType : System.Xml.Schema.XmlSchemaContentType
Public ReadOnly Property ContentType As XmlSchemaContentType

속성 값

XmlSchemaContentType

복합 형식에 대한 콘텐츠 모델의 컴파일 이후 값입니다.

설명

스키마 유효성 검사 후 정보 세트의 콘텐츠입니다.

형식이 IsMixed 있는 속성에 ContentModel 속성이 설정된 true 경우 반환되는 값은 .입니다Mixed.XmlSchemaComplexContent

속성이 IsMixed false면 값은 하나 Empty 또는 ElementOnly.입니다.

속성의 형식에 ContentModel 형식 XmlSchemaSimpleContent이 있는 경우 이 값은 항상 TextOnly.

속성에는 ContentType 다음 표에 표시된 값 중 하나가 있어야 합니다.

열거형 Description
TextOnly 텍스트 전용 콘텐츠입니다.
Empty 빈 콘텐츠입니다.
ElementOnly 요소 전용 콘텐츠입니다.
Mixed 혼합 콘텐츠 모델입니다.

적용 대상