Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TypeBuilder::DefineProperty Method

 

Adds a new property to the type.

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

NameDescription
System_CAPS_pubmethodDefineProperty(String^, PropertyAttributes, CallingConventions, Type^, array<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^, array<Type^>^, array<Type^>^, array<Type^>^, array<array<Type^>^>^, array<array<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^, array<Type^>^)

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

System_CAPS_pubmethodDefineProperty(String^, PropertyAttributes, Type^, array<Type^>^, array<Type^>^, array<Type^>^, array<array<Type^>^>^, array<array<Type^>^>^)

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

Return to top
Show:
© 2017 Microsoft