MethodBase.IsConstructor Property

May 11, 2014

Gets a value that indicates whether the method is a constructor.

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

public bool IsConstructor { get; }

Property Value

Type: System.Boolean
true if this method is a constructor represented by a ConstructorInfo object; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2014 Microsoft