Principal.Equals Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: