Aracılığıyla paylaş


JSObject.IExpando.AddProperty(String) Yöntem

Tanım

Belirtilen özelliği nesnesine ekler. Bu yöntem, JScript.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

 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

Parametreler

name
String

Eklemek istediğiniz özelliğin adı.

Döndürülenler

PropertyInfo

her durumda null.

Uygulamalar

Şunlara uygulanır

Ayrıca bkz.