Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CustomAttributes Property

MemberInfo.CustomAttributes Property

.NET Framework 4.6 and 4.5

Gets a collection that contains this member's custom attributes.

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

public virtual IEnumerable<CustomAttributeData> CustomAttributes { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<CustomAttributeData>
A collection that contains this member's custom attributes.

.NET Framework

Supported in: 4.6, 4.5

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
Show:
© 2015 Microsoft