JSObject.IExpando.AddProperty Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Adds the specified property to the object. This method is not implemented in JScript.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

PropertyInfo IExpando.AddProperty(
	string name


Type: System.String

The name of the property to add.

Return Value

Type: System.Reflection.PropertyInfo

null in all cases.

.NET Framework
Available since 1.1
Return to top