Delegate.GetMethodImpl Méthode
Définition
Obtient la méthode statique représentée par le délégué en cours.Gets the static method represented by the current delegate.
protected:
virtual System::Reflection::MethodInfo ^ GetMethodImpl();
protected virtual System.Reflection.MethodInfo GetMethodImpl ();
abstract member GetMethodImpl : unit -> System.Reflection.MethodInfo
override this.GetMethodImpl : unit -> System.Reflection.MethodInfo
Protected Overridable Function GetMethodImpl () As MethodInfo
Retours
MethodInfo décrivant la méthode statique représentée par le délégué en cours.A MethodInfo describing the static method represented by the current delegate.
Exceptions
L’appelant n’a pas accès à la méthode représentée par le délégué (par exemple, si la méthode est privée).The caller does not have access to the method represented by the delegate (for example, if the method is private).
Remarques
Cette méthode s’applique uniquement si le délégué actuel représente une méthode statique.This method applies only if the current delegate represents a static method.
Sécurité
ReflectionPermission
en cas d’appel à liaison tardive via des mécanismes InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[])tels que.when invoked late-bound through mechanisms such as InvokeMember(String, BindingFlags, Binder, Object, Object[], ParameterModifier[], CultureInfo, String[]). Énumération associée:MemberAccessAssociated enumeration: MemberAccess