GetDeclaredNestedType Method

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.

Namespace:  System.Reflection
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.TypeInfo
An object that represents the specified nested type, if found; otherwise, Nothing.

ExceptionCondition
ArgumentNullException

name is Nothing.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft