When overridden in a derived class, returns an array of custom attributes identified by System.Type.
'Declaration
Public Overloads Overrides Function GetCustomAttributes( _
ByVal As System.Type, _
ByVal As System.Boolean _
) As System.Object()
public override System.object[] GetCustomAttributes(
System.Type ,
System.bool
)
Parameters
- attributeType
- The type of attribute to search for. Only attributes that are assignable to this type are returned.
- inherit
- Specifies whether to search this member's inheritance chain to find the attributes.
Return Value
An array of custom attributes applied to this member, or an array with zero (0) elements if no attributes have been applied.
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