ApplicationDirectory.Equals(Object) 方法
定义
确定证据对象相同类型的实例是否是等效的。Determines whether instances of the same type of an evidence object are equivalent.
public:
override bool Equals(System::Object ^ o);
public override bool Equals (object o);
override this.Equals : obj -> bool
Public Overrides Function Equals (o As Object) As Boolean
参数
- o
- Object
与当前证据对象类型相同的对象。An object of same type as the current evidence object.
返回
如果两个实例等效,则为 true;否则为 false。true if the two instances are equivalent; otherwise, false.
注解
两个实例的目录值必须完全匹配。The directory values of the two instances must match exactly. 不解析等效的 noncanonical 路径。Equivalent noncanonical paths are not resolved. 例如,C:\app 和 \ ..\app 不等于目录值。For example, C:\app and C:\temp\...\app are not equal directory values.