XmlSchemaXPath.XPath 屬性

定義

取得或設定 XPath 表達式的屬性。

public:
 property System::String ^ XPath { System::String ^ get(); void set(System::String ^ value); };
public string? XPath { get; set; }
public string XPath { get; set; }
member this.XPath : string with get, set
Public Property XPath As String

屬性值

XPath 運算式的字串屬性值。

備註

一個 XPath 表達式,相對於由單位限制選擇器選擇的每個元素。 此表達式必須識別一個元素或屬性,其內容或值用於約束。 如果表達式識別了一個元素,該元素必須是簡單型態。

適用於