NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

SecurityElement.Equal

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;

Parameters

other
other XML element object for comparison

Return Value

True if and only if the two XML elements-- tag, attribute names and values, child elements, and text-- are equal.

Remarks

If there are child elements comparison extends recursively to them.

There is no support for comparing different XML representations of the same characters.

See Also

SecurityElement Class | SecurityElement Members | System.Security Namespace