Share via


MemberType Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets a MemberTypes value indicating that this member is a constructor.

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

Syntax

'Declaration
Public Overrides ReadOnly Property MemberType As MemberTypes
public override MemberTypes MemberType { get; }
public:
virtual property MemberTypes MemberType {
    MemberTypes get () override;
}
abstract MemberType : MemberTypes with get
override MemberType : MemberTypes with get
override function get MemberType () : MemberTypes

Property Value

Type: System.Reflection. . :: . .MemberTypes
A MemberTypes value indicating that this member is a constructor.

Remarks

This property overrides MemberType. Therefore, when you examine a set of MemberInfo objects — for example, the array returned by GetMembers — the MemberType property returns Constructor only when a given member is a constructor.

.NET Framework Security

See Also

Reference

ConstructorInfo Class

System.Reflection Namespace