共用方式為


TypeBuilder.DefineNestedType Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Defines a nested type in the current type.

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

Overload List

  Name Description
Public method DefineNestedType(String) Defines a nested type, given its name.
Public method DefineNestedType(String, TypeAttributes) Defines a nested type, given its name and attributes.
Public method DefineNestedType(String, TypeAttributes, Type) Defines a nested type, given its name, attributes, and the type that it extends.
Public method DefineNestedType(String, TypeAttributes, Type, array<Type[]) Defines a nested type, given its name, attributes, the type that it extends, and the interfaces that it implements.

Top