TypeExtensions.GetMethods 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::MethodInfo ^> ^ GetMethods(Type ^ type);
C#
public static System.Reflection.MethodInfo[] GetMethods(Type type);
static member GetMethods : Type -> System.Reflection.MethodInfo[]
Public Shared Function GetMethods (type As Type) As MethodInfo()
Parâmetros
- type
- Type
Retornos
Aplica-se a
.NET 9 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 |
.NET Framework | 4.7.2 (package-provided), 4.8 (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::MethodInfo ^> ^ GetMethods(Type ^ type, System::Reflection::BindingFlags bindingAttr);
C#
public static System.Reflection.MethodInfo[] GetMethods(this Type type, System.Reflection.BindingFlags bindingAttr);
static member GetMethods : Type * System.Reflection.BindingFlags -> System.Reflection.MethodInfo[]
<Extension()>
Public Function GetMethods (type As Type, bindingAttr As BindingFlags) As MethodInfo()
Parâmetros
- type
- Type
- bindingAttr
- BindingFlags
Retornos
Aplica-se a
.NET 9 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 |
.NET Framework | 4.7.2 (package-provided), 4.8 (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: