Returns the public and non-public nested types that are declared or inherited by this type.
[Visual Basic] Overrides Public Function GetNestedTypes( _ ByVal bindingAttr As BindingFlags _ ) As Type () [C#] public override Type[] GetNestedTypes( BindingFlags bindingAttr ); [C++] public: override Type* GetNestedTypes( BindingFlags bindingAttr ) []; [JScript] public override function GetNestedTypes( bindingAttr : BindingFlags ) : Type[];
Exception Type | Condition |
---|---|
NotSupportedException | This method is not implemented. |
This method is not currently supported. As a workaround, retrieve the type using Type.GetType or Assembly.GetType and use reflection on the retrieved type.
NGWS Runtime Security:
ReflectionPermission | TypeInformation required for non-public members |
TypeBuilder Class | TypeBuilder Members | System.Reflection.Emit Namespace