ClaimsIdentity.FindAll 메서드
정의
지정된 조건과 일치하는 클레임을 모두 검색합니다.Retrieves all of the claims that match a specified condition.
오버로드
FindAll(Predicate<Claim>) |
지정된 조건자와 일치하는 클레임을 모두 검색합니다.Retrieves all of the claims that are matched by the specified predicate. |
FindAll(String) |
지정된 클레임 형식이 있는 클레임을 모두 검색합니다.Retrieves all of the claims that have the specified claim type. |
FindAll(Predicate<Claim>)
지정된 조건자와 일치하는 클레임을 모두 검색합니다.Retrieves all of the claims that are matched by the specified predicate.
public:
virtual System::Collections::Generic::IEnumerable<System::Security::Claims::Claim ^> ^ FindAll(Predicate<System::Security::Claims::Claim ^> ^ match);
public virtual System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> FindAll (Predicate<System.Security.Claims.Claim> match);
abstract member FindAll : Predicate<System.Security.Claims.Claim> -> seq<System.Security.Claims.Claim>
override this.FindAll : Predicate<System.Security.Claims.Claim> -> seq<System.Security.Claims.Claim>
Public Overridable Function FindAll (match As Predicate(Of Claim)) As IEnumerable(Of Claim)
매개 변수
반환
일치하는 클레임입니다.The matching claims. 목록은 읽기 전용입니다.The list is read-only.
예외
match
이(가) null
인 경우match
is null
.
적용 대상
FindAll(String)
지정된 클레임 형식이 있는 클레임을 모두 검색합니다.Retrieves all of the claims that have the specified claim type.
public:
virtual System::Collections::Generic::IEnumerable<System::Security::Claims::Claim ^> ^ FindAll(System::String ^ type);
public virtual System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> FindAll (string type);
abstract member FindAll : string -> seq<System.Security.Claims.Claim>
override this.FindAll : string -> seq<System.Security.Claims.Claim>
Public Overridable Function FindAll (type As String) As IEnumerable(Of Claim)
매개 변수
- type
- String
클레임과 일치하는 클레임 형식입니다.The claim type against which to match claims.
반환
일치하는 클레임입니다.The matching claims. 목록은 읽기 전용입니다.The list is read-only.
예외
type
이(가) null
인 경우type
is null
.
설명
에서 대/소문자 구분을 사용 하 여 비교를 수행 합니다 type
.The comparison is made using Ordinal case in-sensitive on type
.