When overridden in a derived class, returns an array containing all the custom attributes.
'Declaration
Public Overloads Overrides Function GetCustomAttributes( _
ByVal As System.Boolean _
) As System.Object()
public override System.object[] GetCustomAttributes(
System.bool
)
Parameters
- inherit
- Specifies whether to search this member's inheritance chain to find the attributes.
Return Value
An array that contains all the custom attributes, or an array with zero elements if no attributes are defined.
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