共用方式為


ApiScopeCollection.ContainsScope(String) 方法

定義

取得是否定義指定的範圍。

public:
 bool ContainsScope(System::String ^ key);
public bool ContainsScope (string key);
member this.ContainsScope : string -> bool
Public Function ContainsScope (key As String) As Boolean

參數

key
String

Duende.IdentityServer.Models.ApiScope 的名稱。

傳回

true 定義範圍時; false 否則。

適用於