IExpando::AddProperty Method (String^)

 

Adds the named property to the Reflection object.

Namespace:   System.Runtime.InteropServices.Expando
Assembly:  mscorlib (in mscorlib.dll)

PropertyInfo^ AddProperty(
	String^ name
)

Parameters

name
Type: System::String^

The name of the property.

Return Value

Type: System.Reflection::PropertyInfo^

A PropertyInfo object representing the added property.

Exception Condition
NotSupportedException

The IExpando object does not support this method.

.NET Framework
Available since 1.1
Return to top
Show: