System::Xml::Schema::XmlSchemaElement::get_IsNillable 方法

XmlSchemaElement::get_IsNillable method

返回信息,指示实例数据中是否可以出现 xsi:nil。表明是否可以为元素分配显式的 nil 值。

bool System::Xml::Schema::XmlSchemaElement::get_IsNillable()

ReturnValue

如果 nillable 为 true,则允许该元素的实例将 nil 属性设置为 truenil 属性是 XML Schema 命名空间为实例定义的一部分。默认值为 false。可选。

另见