次の方法で共有


SecurityElement.Equal メソッド

2 つの XML 要素オブジェクトが等しいかどうかを比較します。

Public Function Equal( _
   ByVal other As SecurityElement _) As Boolean
[C#]
public bool Equal(SecurityElementother);
[C++]
public: bool Equal(SecurityElement* other);
[JScript]
public function Equal(
   other : SecurityElement) : Boolean;

パラメータ

  • other
    現在の XML 要素オブジェクトと比較する XML 要素オブジェクト。

戻り値

現在の XML 要素のタグ、属性の名前と値、子要素、およびテキスト フィールドが other パラメータの対応する項目と等しい場合は true 。それ以外の場合は false

解説

子要素がある場合は、子要素を再帰的に比較します。

同じ文字の異なる XML 表記の比較をサポートしていません。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

SecurityElement クラス | SecurityElement メンバ | System.Security 名前空間