TypeInfo.GetDeclaredNestedType Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Returns an object that represents the specified public nested type declared by the current type.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Overridable Function GetDeclaredNestedType ( _ name As String _ ) As TypeInfo
Parameters
- name
- Type: System.String
The name of the nested type.
Return Value
Type: System.Reflection.TypeInfoAn object that represents the specified nested type, if found; otherwise, Nothing.
| Exception | Condition |
|---|---|
| ArgumentNullException | name is Nothing. |
Show: