IOptionsMonitorCache<TOptions>.TryRemove(String) 方法

定義

嘗試移除選項執行個體。

public:
 bool TryRemove(System::String ^ name);
public bool TryRemove (string name);
public bool TryRemove (string? name);
abstract member TryRemove : string -> bool
Public Function TryRemove (name As String) As Boolean

參數

name
String

選項執行個體的名稱。

傳回

Boolean

是否已移除任何項目。

適用於