OptionsCache<TOptions>.TryRemove(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Tente de supprimer une instance d’options.
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
Paramètres
- name
- String
Nom de l’instance d’options.
Retours
true si quelque chose a été supprimé ; sinon, false.