TypeDelegator.GetNestedType Method

Returns a nested type specified by name and in bindingAttr that are declared or inherited by the type represented by the current TypeDelegator.

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


Public Overrides Function GetNestedType ( _
    name As String, _
    bindingAttr As BindingFlags _
) As Type
public override Type GetNestedType(
    string name,
    BindingFlags bindingAttr


Return Value

Type: System.Type
A Type object representing the nested type.


Exception Condition

The name parameter is nulla null reference (Nothing in Visual Basic).

Version Information


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Xbox 360, Windows Phone OS 7.0


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.