Searches for the nested type with the specified name.
[Visual Basic] Overloads Public Function GetNestedType( _ ByVal name As String _ ) As Type [C#] public Type GetNestedType( string name ); [C++] public: Type* GetNestedType( String* name ); [JScript] public function GetNestedType( name : String ) : Type;
A Type object representing the nested type with the specified name, if found; otherwise, a null reference (in Visual Basic Nothing).
Exception Type | Condition |
---|---|
ArgumentNullException | name is a null reference (Nothing). |
The search for name is case-sensitive.
Type Class | Type Members | System Namespace | Type.GetNestedType Overload List