Click or drag to resize

imbAttributeToolsgetAttributesT Method (MemberInfo, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

Namespace:  imbSCI.Core.attributes
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static List<T> getAttributes<T>(
	this MemberInfo input,
	bool includeInherited = false
)
where T : Attribute
Request Example View Source

Parameters

input
Type: System.ReflectionMemberInfo
includeInherited (Optional)
Type: SystemBoolean

Type Parameters

T

Return Value

Type: ListT

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MemberInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also