語言

OptionsCache<TOptions>.TryRemove(String) 方法

定義

嘗試移除選項實例。

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

參數

name
String

選擇權實例的名稱。

傳回

true如果有東西被移除;否則,。 false

實作

適用於