Compares two XML element objects for equality.
[Visual Basic] Public Function Equal( _ ByVal other As SecurityElement _ ) As Boolean [C#] public bool Equal( SecurityElement other ); [C++] public: bool Equal( SecurityElement* other ); [JScript] public function Equal( other : SecurityElement ) : Boolean;
True if and only if the two XML elements-- tag, attribute names and values, child elements, and text-- are equal.
If there are child elements comparison extends recursively to them.
There is no support for comparing different XML representations of the same characters.
SecurityElement Class | SecurityElement Members | System.Security Namespace