| Overload | Description |
|---|---|
| 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. |
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