TypeExtensions.GetMembers Método
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
- Origem:
- TypeExtensions.cs
- Origem:
- TypeExtensions.cs
- Origem:
- TypeExtensions.cs
public:
static cli::array <System::Reflection::MemberInfo ^> ^ GetMembers(Type ^ type, System::Reflection::BindingFlags bindingAttr);
C#
public static System.Reflection.MemberInfo[] GetMembers(Type type, System.Reflection.BindingFlags bindingAttr);
static member GetMembers : Type * System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
Public Shared Function GetMembers (type As Type, bindingAttr As BindingFlags) As MemberInfo()
Parâmetros
- type
- Type
- bindingAttr
- BindingFlags
Retornos
Aplica-se a
.NET 10 e outras versões
Produto | Versões |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.7.2 (package-provided) |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |
- Origem:
- TypeExtensions.cs
- Origem:
- TypeExtensions.cs
- Origem:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static cli::array <System::Reflection::MemberInfo ^> ^ GetMembers(Type ^ type);
C#
public static System.Reflection.MemberInfo[] GetMembers(this Type type);
static member GetMembers : Type -> System.Reflection.MemberInfo[]
<Extension()>
Public Function GetMembers (type As Type) As MemberInfo()
Parâmetros
- type
- Type
Retornos
Aplica-se a
.NET 10 e outras versões
Produto | Versões |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.7.2 (package-provided) |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Comentários do .NET
O .NET é um projeto código aberto. Selecione um link para fornecer comentários: