OptionsCache<TOptions>.TryRemove(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
嘗試移除選項實例。
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