There was an error while loading. Please reload this page.
Returns custom attributes applied to provided type member.
Namespace: CodeJam.MetadataAssembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0
C#
T[] GetAttributes<T>( MemberInfo memberInfo, bool inherit = true ) where T : Attribute
VB
Function GetAttributes(Of T As Attribute) ( memberInfo As MemberInfo, Optional inherit As Boolean = true ) As T()
F#
abstract GetAttributes : memberInfo : MemberInfo * ?inherit : bool (* Defaults: let _inherit = defaultArg inherit true *) -> 'T[] when 'T : Attribute
Type: T[]Array of custom attributes.
IMetadataReader InterfaceGetAttributes OverloadCodeJam.Metadata Namespace