## XmlSchemaElement::get_IsNillable method


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

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


### ReturnValue

如果 nillable 为 **true**，则允许该元素的实例将 **nil** 属性设置为 **true**。**nil** 属性是 XML [Schema](../../) 命名空间为实例定义的一部分。默认值为 **false**。可选。

## 另见

* Class [XmlSchemaElement](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Page for C++](../../../)
