TypeDelegator.GetNestedType(String, BindingFlags) Método

Definição

Retorna um tipo aninhado especificado por name e em bindingAttr que são declarados ou herdados pelo tipo representado pelo atual TypeDelegator.

public:
 override Type ^ GetNestedType(System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public override Type GetNestedType(string name, System.Reflection.BindingFlags bindingAttr);
override this.GetNestedType : string * System.Reflection.BindingFlags -> Type
Public Overrides Function GetNestedType (name As String, bindingAttr As BindingFlags) As Type

Parâmetros

name
String

O nome do tipo aninhado.

bindingAttr
BindingFlags

Uma máscara de bits que afeta a maneira como a pesquisa é realizada. O valor é uma combinação de zero ou mais sinalizadores de bits de BindingFlags.

Retornos

Um Type objeto que representa o tipo aninhado.

Exceções

O name parâmetro é null.

Aplica-se a