X509CertificateClaimSet.FindClaims(String, String) 方法

定义

搜索 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 Iterator Overrides Function FindClaims (claimType As String, right As String) As IEnumerable(Of Claim)
Public Overrides Function FindClaims (claimType As String, right As String) As IEnumerable(Of Claim)

参数

claimType
String

声明类型的统一资源标识符 (URI)。

right
String

与新声明关联的权限的 URI。

返回

一个 System.Collections.Generic.IEnumerable<Claim> 对象,可用于枚举符合指定条件的声明。

适用于