TypeInfo.GetDeclaredNestedType Method

.NET Framework 4.5

Returns an object that represents the specified public nested type declared by the current type.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

abstract GetDeclaredNestedType : 
        name:string -> TypeInfo  
override GetDeclaredNestedType : 
        name:string -> 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, a null reference (Nothing in Visual Basic).

ExceptionCondition
ArgumentNullException

name is a null reference (Nothing in Visual Basic).

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft