TypeExtensions.GetMethods Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- 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()
Paramètres
- type
- Type
Retours
S’applique à
.NET 9 et autres versions
Produit | Versions |
---|---|
.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 |
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- 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()
Paramètres
- type
- Type
- bindingAttr
- BindingFlags
Retours
S’applique à
.NET 9 et autres versions
Produit | Versions |
---|---|
.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 |
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :