MemberInfo.CustomAttributes Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

Syntax

Public Overridable ReadOnly Property CustomAttributes As IEnumerable(Of CustomAttributeData)
public virtual IEnumerable<CustomAttributeData> CustomAttributes { get; }

Property Value

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

MemberInfo Class

System.Reflection Namespace