ICustomAttributeProvider

ICustomAttributeProvider CF 1.0

System.Reflection (mscorlib.dll) interface

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 object[ ]  GetCustomAttributes  (bool   inherit   );    public object[ ]  GetCustomAttributes  (Type   attributeType   , bool   inherit   );    public bool  IsDefined  (Type   attributeType   , bool   inherit   ); } 

Implemented By

Assembly , MemberInfo , Module , ParameterInfo

Returned By

MethodInfo.ReturnTypeCustomAttributes



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net