TypeBuilder.DefineProperty Method

Adds a new property to the type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method DefineProperty(String, PropertyAttributes, Type, Type[]) Adds a new property to the type, with the given name and property signature.
Public method DefineProperty(String, PropertyAttributes, CallingConventions, Type, Type[]) Adds a new property to the type, with the given name, attributes, calling convention, and property signature.
Public method DefineProperty(String, PropertyAttributes, Type, Type[], Type[], Type[], Type[][], Type[][]) Adds a new property to the type, with the given name, property signature, and custom modifiers.
Public method DefineProperty(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.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft