X509CertificateClaimSet.FindClaims(String, String) X509CertificateClaimSet.FindClaims(String, String) X509CertificateClaimSet.FindClaims(String, String) X509CertificateClaimSet.FindClaims(String, String) Method

定義

搜尋符合指定之宣告型別及 X509CertificateClaimSet 中的權限的宣告。Searches for the claim that matches the specified claim type and rights in the X509CertificateClaimSet.

public:
 override System::Collections::Generic::IEnumerable<System::IdentityModel::Claims::Claim ^> ^ FindClaims(System::String ^ claimType, System::String ^ right);
public override System.Collections.Generic.IEnumerable<System.IdentityModel.Claims.Claim> FindClaims (string claimType, string right);
override this.FindClaims : string * string -> seq<System.IdentityModel.Claims.Claim>
Public Overrides Function FindClaims (claimType As String, right As String) As IEnumerable(Of Claim)

參數

claimType
String String String String

宣告類型的統一資源識別元 (URI)。The uniform resource identifier (URI) of a claim type.

right
String String String String

與新宣告相關聯之權限的 URI。The URI of the right associated with the new claim.

傳回

System.Collections.Generic.IEnumerable<Claim> 物件,可讓您列舉符合指定之準則的宣告。A System.Collections.Generic.IEnumerable<Claim> object that enables you to enumerate the claims that match the specified criteria.

適用於