次の方法で共有


DataDOMEvent.MatchExpression プロパティ

定義

イベントが現在処理されている XML DOM (Document Object Model) ノードに対する XPath 式を取得します。

public:
 property System::String ^ MatchExpression { System::String ^ get(); };
public string MatchExpression { get; }
member this.MatchExpression : string
Public ReadOnly Property MatchExpression As String

プロパティ値

次の例では、 オブジェクトの MatchExpression プロパティを DataDOMEventObject 使用して、現在検証されている XML DOM ノードの XPath 式を表示します。

thisXDocument.UI.Alert("Match expression: " + e.<span class="label">MatchExpression</span>);

注釈

フォームの基になる XML ドキュメント内の XML DOM に対するポイントを MatchExpression プロパティが含む XPath 式。 これは、データの入力規則イベント ハンドラーによって現在検証されているノードです。

重要: このメンバーには制限なしでアクセスできます。

適用対象