Edit

Share via


IExpando.AddProperty(String) Method

Definition

Adds the named property to the Reflection object.

public:
 System::Reflection::PropertyInfo ^ AddProperty(System::String ^ name);
public System.Reflection.PropertyInfo AddProperty (string name);
abstract member AddProperty : string -> System.Reflection.PropertyInfo
Public Function AddProperty (name As String) As PropertyInfo

Parameters

name
String

The name of the property.

Returns

A PropertyInfo object representing the added property.

Exceptions

The IExpando object does not support this method.

Applies to