Freigeben über


CaseSensitiveClaimsIdentity.FindAll(String) Method

Definition

Retrieves a IEnumerable<T> where each Type equals type.

public override System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> FindAll (string type);
override this.FindAll : string -> seq<System.Security.Claims.Claim>
Public Overrides Function FindAll (type As String) As IEnumerable(Of Claim)

Parameters

type
String

The type of the claim to match.

Returns

A IEnumerable<T> of matched claims.

Exceptions

if type is null.

Remarks

Comparison is Ordinal.

Applies to