Share via


MemberInfo.DeclaringType Property

Gets the class that declares the current member.

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

Syntax

public virtual abstract Type DeclaringType { get; }

Property Value

The Type object for the class that declares the current member.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

MemberInfo Class
MemberInfo Members
System.Reflection Namespace