Partilhar via


OptionsCache<TOptions>.TryRemove(String) Method

Definition

Try to remove an options instance.

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

Parameters

name
String

The name of the options instance.

Returns

Whether anything was removed.

Implements

Applies to