Export (0) Print
Expand All

TypeBuilder.DefineNestedType Method

Defines a nested type.

Overload List

Defines a nested type given its name.

[Visual Basic] Overloads Public Function DefineNestedType(String) As TypeBuilder
[C#] public TypeBuilder DefineNestedType(string);
[C++] public: TypeBuilder* DefineNestedType(String*);
[JScript] public function DefineNestedType(String) : TypeBuilder;

Defines a nested type given its name and attributes.

[Visual Basic] Overloads Public Function DefineNestedType(String, TypeAttributes) As TypeBuilder
[C#] public TypeBuilder DefineNestedType(string, TypeAttributes);
[C++] public: TypeBuilder* DefineNestedType(String*, TypeAttributes);
[JScript] public function DefineNestedType(String, TypeAttributes) : TypeBuilder;

Defines a nested type given its name, attributes, and the type that it extends.

[Visual Basic] Overloads Public Function DefineNestedType(String, TypeAttributes, Type) As TypeBuilder
[C#] public TypeBuilder DefineNestedType(string, TypeAttributes, Type);
[C++] public: TypeBuilder* DefineNestedType(String*, TypeAttributes, Type*);
[JScript] public function DefineNestedType(String, TypeAttributes, Type) : TypeBuilder;

Defines a nested type given its name, attributes, the total size of the type, and the type that it extends.

[Visual Basic] Overloads Public Function DefineNestedType(String, TypeAttributes, Type, Integer) As TypeBuilder
[C#] public TypeBuilder DefineNestedType(string, TypeAttributes, Type, int);
[C++] public: TypeBuilder* DefineNestedType(String*, TypeAttributes, Type*, int);
[JScript] public function DefineNestedType(String, TypeAttributes, Type, int) : TypeBuilder;

Defines a nested type given its name, attributes, the total size of the type, and the type that it extends.

[Visual Basic] Overloads Public Function DefineNestedType(String, TypeAttributes, Type, PackingSize) As TypeBuilder
[C#] public TypeBuilder DefineNestedType(string, TypeAttributes, Type, PackingSize);
[C++] public: TypeBuilder* DefineNestedType(String*, TypeAttributes, Type*, PackingSize);
[JScript] public function DefineNestedType(String, TypeAttributes, Type, PackingSize) : TypeBuilder;

Defines a nested type given its name, attributes, the type that it extends, and the interfaces that it implements.

[Visual Basic] Overloads Public Function DefineNestedType(String, TypeAttributes, Type, Type()) As TypeBuilder
[C#] public TypeBuilder DefineNestedType(string, TypeAttributes, Type, Type[]);
[C++] public: TypeBuilder* DefineNestedType(String*, TypeAttributes, Type*, Type[]);
[JScript] public function DefineNestedType(String, TypeAttributes, Type, Type[]) : TypeBuilder;

See Also

TypeBuilder Class | TypeBuilder Members | System.Reflection.Emit Namespace

Show:
© 2014 Microsoft