MethodBuilder.GetGenericArguments 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.
Returns an array of GenericTypeParameterBuilder objects that represent the type parameters of the method, if it is generic.
public:
override cli::array <Type ^> ^ GetGenericArguments();
public override Type[] GetGenericArguments ();
override this.GetGenericArguments : unit -> Type[]
Public Overrides Function GetGenericArguments () As Type()
Returns
An array of GenericTypeParameterBuilder objects representing the type parameters, if the method is generic, or null
if the method is not generic.
Remarks
The type parameters of a generic method also are returned by the DefineGenericParameters method that is used to define them.
For more information, see MethodBase.IsGenericMethod and MethodInfo.GetGenericArguments. For information on generic types, see Type.IsGenericType.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru