ICustomAttributeProvider Methods

Include Protected Members
Include Inherited Members

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

The ICustomAttributeProvider type exposes the following members.

Methods

Name Description
GetCustomAttributes(Boolean) Returns an array of all of the custom attributes defined on this member, excluding named attributes, or an empty array if there are no custom attributes.
GetCustomAttributes(Type, Boolean) Returns an array of custom attributes defined on this member, identified by type, or an empty array if there are no custom attributes of that type.
IsDefined Indicates whether one or more instance of attributeType is defined on this member.

Top

See Also

Reference

ICustomAttributeProvider Interface

System.Reflection Namespace