EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

MethodBase.IsGenericMethodDefinition Property

May 11, 2014

Gets a value that indicates whether the method is a generic method definition.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public virtual bool IsGenericMethodDefinition { get; }

Property Value

Type: System.Boolean
true if the current MethodBase object represents the definition of a generic method; otherwise, false.

If the current MethodBase represents a generic method definition, then:

NoteNote:

Generic constructors are not supported, so this property returns false if the current instance is of type ConstructorInfo.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Afficher:
© 2014 Microsoft