GenericTypeParameterBuilder.GetNestedTypes(BindingFlags) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Not supported for incomplete generic type parameters.
public:
override cli::array <Type ^> ^ GetNestedTypes(System::Reflection::BindingFlags bindingAttr);
public override Type[] GetNestedTypes (System.Reflection.BindingFlags bindingAttr);
override this.GetNestedTypes : System.Reflection.BindingFlags -> Type[]
Public Overrides Function GetNestedTypes (bindingAttr As BindingFlags) As Type()
Parameters
- bindingAttr
- BindingFlags
Not supported.
Returns
Not supported for incomplete generic type parameters.
Exceptions
In all cases.
Remarks
This method is not supported for incomplete generic type parameters. Retrieve the type parameter from the completed generic type definition and then use reflection on the retrieved type.
Applies to
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de