Otter SDK Reference
Version:

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

Returns all instances of an attribute type if it is 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 attributes on.

Returns

Attributes that were found.