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!

ApplicationDirectory.Equals

Compares instances of the same typed evidence object.

[Visual Basic]
Overrides Public Function Equals( _
   ByVal o As Object _
) As Boolean
[C#]
public override bool Equals(
   object o
);
[C++]
public: override bool Equals(
   Object* o
);
[JScript]
public override function Equals(
   o : Object
) : Boolean;

Parameters

o
Another object of same type.

Return Value

True if and only if the two instances are equivalent.

Exceptions

Exception Type Condition
ArgumentException if the object o is not of the same type.

Remarks

The Directory values of the two instances must match exactly (equivalent non-canonical path names are not resolved, e.g. "C:\app" and "C:\temp\..\app" will not be equal).

See Also

ApplicationDirectory Class | ApplicationDirectory Members | System.Security.Policy Namespace