MethodBase.IsGenericMethod Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value that indicates whether the method is generic.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Booleantrue if the current MethodBase represents a generic method; otherwise, false.
Use the IsGenericMethod property to determine whether the current MethodBase object represents a generic method. Use the ContainsGenericParameters property to determine whether the current MethodBase object represents an open constructed method or a closed constructed method.
Note: |
|---|
Generic constructors are not supported, so this property returns false if the current instance is of type ConstructorInfo. |
Note: