JsonObject.Remove(String) Méthode

Définition

Supprime l’élément avec le nom de propriété spécifié du JsonObject.

public:
 virtual bool Remove(System::String ^ propertyName);
public bool Remove(string propertyName);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (propertyName As String) As Boolean

Paramètres

propertyName
String

Nom de propriété de l’élément à supprimer.

Retours

true si l’élément a été supprimé avec succès ; sinon, false.

Implémente

Exceptions

propertyName a la valeur null.

S’applique à