IOptionsMonitorCache<TOptions>.TryRemove(String) 方法

定义

尝试删除选项实例。Try to remove an options instance.

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

参数

name
String

选项实例的名称。The name of the options instance.

返回

Boolean

是否删除了任何内容。Whether anything was removed.

适用于