Otter SDK Reference
Version:

GetCustomAttributes<T>(System.Reflection.ICustomAttributeProvider member) Method

Returns the attributes (typed <typeparamref name="T" />) if any are present on a member.

Syntax

public static IEnumerable<T> GetCustomAttributes<T>(System.Reflection.ICustomAttributeProvider member)

Parameters

member
Type: System.Reflection.ICustomAttributeProvider

Member to search for the attribute on.

Returns

Attributes that were found.

Exceptions

System.ArgumentNullException

member is null (Nothing in Visual Basic).