Principal.Equals Method (Object)

 

Returns a Boolean value that specifies whether the supplied object is equal to the current object.

Namespace:   System.DirectoryServices.AccountManagement
Assembly:  System.DirectoryServices.AccountManagement (in System.DirectoryServices.AccountManagement.dll)

public override bool Equals(
	object o
)

Parameters

o
Type: System.Object

The Principal object that is compared to the current instance.

Return Value

Type: System.Boolean

true if the supplied object and current principal objects represent the same underlying principal in the store; otherwise false.

.NET Framework
Available since 3.5

System.DirectoryServices.AccountManagement
Principal Class
System.DirectoryServices.AccountManagement Namespace Overview

Return to top
Show: