This documentation is archived and is not being maintained.

Type.GetNestedType Method

Gets a specific type nested within the current Type.

Overload List

Searches for the nested type with the specified name.

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

When overridden in a derived class, searches for the specified nested type, using the specified binding constraints.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public MustOverride Function GetNestedType(String, BindingFlags) As Type
[C#] public abstract Type GetNestedType(string, BindingFlags);
[C++] public: virtual Type* GetNestedType(String*, BindingFlags) = 0;
[JScript] public abstract function GetNestedType(String, BindingFlags) : Type;

See Also

Type Class | Type Members | System Namespace