DevForce Help Reference
GetAttributes(ICustomAttributeProvider,Type,Boolean) Method


Returns the requested attributes for this member.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function GetAttributes( _
   ByVal provider As ICustomAttributeProvider, _
   ByVal attrType As Type, _
   Optional ByVal inherit As Boolean _
) As IEnumerable(Of Attribute)
'Usage
 
Dim provider As ICustomAttributeProvider
Dim attrType As Type
Dim inherit As Boolean
Dim value As IEnumerable(Of Attribute)
 
value = ReflectionExtensions.GetAttributes(provider, attrType, inherit)

Parameters

provider
attrType
inherit
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ReflectionExtensions Class
ReflectionExtensions Members
Overload List

Send Feedback