TypeBuilder.DefineProperty Method

 
System_CAPS_noteNote

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

Adds a new property to the type.

Namespace:   System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodDefineProperty(String, PropertyAttributes, CallingConventions, Type, Type[])

Adds a new property to the type, with the given name, attributes, calling convention, and property signature.

System_CAPS_pubmethodDefineProperty(String, PropertyAttributes, CallingConventions, Type, Type[], Type[], Type[], Type[][], Type[][])

Adds a new property to the type, with the given name, calling convention, property signature, and custom modifiers.

System_CAPS_pubmethodDefineProperty(String, PropertyAttributes, Type, Type[])

Adds a new property to the type, with the given name and property signature.

System_CAPS_pubmethodDefineProperty(String, PropertyAttributes, Type, Type[], Type[], Type[], Type[][], Type[][])

Adds a new property to the type, with the given name, property signature, and custom modifiers.

Return to top
Show: