IExpando::AddField Method (String^)

 

Adds the named field to the Reflection object.

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

FieldInfo^ AddField(
	String^ name
)

Parameters

name
Type: System::String^

The name of the field.

Return Value

Type: System.Reflection::FieldInfo^

A FieldInfo object representing the added field.

Exception Condition
NotSupportedException

The IExpando object does not support this method.

.NET Framework
Available since 1.1
Return to top
Show: