TypeBuilderExtensions.CreateFieldWithPropertyAccessors Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::Emit::PropertyBuilder ^ CreateFieldWithPropertyAccessors(System::Reflection::Emit::TypeBuilder ^ typeBuilder, System::String ^ name, Type ^ type);
public static System.Reflection.Emit.PropertyBuilder CreateFieldWithPropertyAccessors (this System.Reflection.Emit.TypeBuilder typeBuilder, string name, Type type);
static member CreateFieldWithPropertyAccessors : System.Reflection.Emit.TypeBuilder * string * Type -> System.Reflection.Emit.PropertyBuilder
<Extension()>
Public Function CreateFieldWithPropertyAccessors (typeBuilder As TypeBuilder, name As String, type As Type) As PropertyBuilder
Parameters
- typeBuilder
- TypeBuilder
- name
- String
- type
- Type