March 2002
Intermediate to advanced
864 pages
31h 8m
English
ICustomAttributeProvider
This interface is implemented if an object supports custom attributes.
GetCustomAttributes()
returns the custom attributes, and
IsDefined()
returns true if an attribute of a passed
System.Type is defined on this member.
public interface ICustomAttributeProvider { // Public Instance Methods public method object[] GetCustomAttributes(bool inherit); public method object[] GetCustomAttributes( Type attributeType, bool inherit); public method bool IsDefined(Type attributeType, bool inherit); }
Assembly, MemberInfo, Module, ParameterInfo
MethodInfo.ReturnTypeCustomAttributes