XmlSchemaComplexType.IsMixed 属性

定义

获取或设置确定复杂类型是否具有混合内容模型(内容中的标记)的相关信息。Gets or sets information that determines if the complex type has a mixed content model (markup within the content).

public:
 virtual property bool IsMixed { bool get(); void set(bool value); };
public override bool IsMixed { get; set; }
member this.IsMixed : bool with get, set
Public Overrides Property IsMixed As Boolean

属性值

Boolean

如果字符数据可以出现在此复杂类型的子元素之间,则为 true;否则为 falsetrue, if character data can appear between child elements of this complex type; otherwise, false. 默认值为 falseThe default is false. 可选。Optional.

注解

指示字符数据是否可以出现在此的子元素之间 complexTypeIndicates if character data can appear between the child elements of this complexType. 如果 simpleContent 元素为子元素,则 mixed 不允许) (特性 falseIf the simpleContent element is a child element, the mixed attribute is not allowed (false). 如果该 complexContent 元素是一个子元素,则该 mixed 属性可以由 mixed 元素上的特性重写 complexContentIf the complexContent element is a child element, the mixed attribute can be overridden by the mixed attribute on the complexContent element.

适用于