IdentityReferenceCollection::Contains Method (IdentityReference^)

 

Indicates whether the IdentityReferenceCollection collection contains the specified IdentityReference object.

Namespace:   System.Security.Principal
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual bool Contains(
	IdentityReference^ identity
) sealed

Parameters

identity
Type: System.Security.Principal::IdentityReference^

The IdentityReference object to check for.

Return Value

Type: System::Boolean

true if the collection contains the specified object.

Exception Condition
ArgumentNullException

identity is null.

.NET Framework
Available since 2.0
Return to top
Show: