JSObject.IExpando.AddProperty(String) Méthode

Définition

Ajoute la propriété spécifiée à l'objet. Cette méthode n'est pas implémentée dans JScript.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

 virtual System::Reflection::PropertyInfo ^ System.Runtime.InteropServices.Expando.IExpando.AddProperty(System::String ^ name) = System::Runtime::InteropServices::Expando::IExpando::AddProperty;
System.Reflection.PropertyInfo IExpando.AddProperty (string name);
abstract member System.Runtime.InteropServices.Expando.IExpando.AddProperty : string -> System.Reflection.PropertyInfo
override this.System.Runtime.InteropServices.Expando.IExpando.AddProperty : string -> System.Reflection.PropertyInfo
Function AddProperty (name As String) As PropertyInfo Implements IExpando.AddProperty

Paramètres

name
String

Nom de la propriété à ajouter.

Retours

PropertyInfo

Valeur null dans tous les cas.

Implémente

S’applique à

Voir aussi