IdeaBlade DevForce 2010 Help Reference
GetAttribute Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > ReflectionFns Class : GetAttribute Method



Returns the first attribute of the given type on an object, or null if not found.

Overload List

OverloadDescription
GetAttribute(ICustomAttributeProvider,Type) Returns the first attribute of the given type on an object, or null if not found.  
GetAttribute<T>(ICustomAttributeProvider) Returns the first attribute of the given type on an object, or null if not found.  
GetAttribute<T>(Type,Boolean) Returns the first attribute of the given type on an object, or null if not found. Optionally check any metadata type associated with the specified type as well.  
GetAttribute<T>(ICustomAttributeProvider,Boolean) Returns the first attribute of the given type on an object, or null if not found. Optionally check any metadata type associated with the specified type as well.  
GetAttribute(ICustomAttributeProvider,Type,Boolean) Returns the first attribute of the given type on an object, or null if not found. Optionally check any metadata type associated with the specified type as well.  

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.