## XmlSchemaIdentityConstraint::set_Selector method


设置 [XPath](../../../system.xml.xpath/) 表达式 **selector** 元素。

```cpp
void System::Xml::Schema::XmlSchemaIdentityConstraint::set_Selector(const SharedPtr<XmlSchemaXPath> &value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | const SharedPtr\<XmlSchemaXPath\>\& | 要设置的值。 |

## 另见

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchemaXPath](../../xmlschemaxpath/)
* Class [XmlSchemaIdentityConstraint](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Font for C++](../../../)
