XmlSchemaSet.IsCompiled XmlSchemaSet.IsCompiled XmlSchemaSet.IsCompiled XmlSchemaSet.IsCompiled Property

定义

获取一个值指示 XmlSchemaSet 中的 XML 架构定义语言 (XSD) 架构是否已编译的值。Gets a value that indicates whether the XML Schema definition language (XSD) schemas in the XmlSchemaSet have been compiled.

public:
 property bool IsCompiled { bool get(); };
public bool IsCompiled { get; }
member this.IsCompiled : bool
Public ReadOnly Property IsCompiled As Boolean

属性值

如果 XmlSchemaSet 中的架构自上次在 XmlSchemaSet 中添加或移除以来已被编译,则为 true;否则为 falsetrue if the schemas in the XmlSchemaSet have been compiled since the last time a schema was added or removed from the XmlSchemaSet; otherwise, false.

示例

有关的示例IsCompiled属性,请参阅Reprocess方法。For an example of the IsCompiled property, see the Reprocess method.

注解

如果架构在 IsCompiled 中编辑,XmlSchemaSet 属性不受影响。The IsCompiled property is not affected if schemas are edited while in the XmlSchemaSet. 不跟踪对 XmlSchemaSet 中各个架构的更新。Updates of the individual schemas in the XmlSchemaSet are not tracked. 因此,只要 IsCompiled 中没有添加或移除任何架构,即使 true 中包含的一个架构已更改,XmlSchemaSet 属性也可以为 XmlSchemaSetAs a result, the IsCompiled property can be true even though one of the schemas contained in the XmlSchemaSet has been altered, as long as no schemas were added or removed from the XmlSchemaSet.

适用于

另请参阅