BuildMaster SDK Reference
Version:

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

Returns an attribute (typed <typeparamref name="T" />) if it is present on a member.

Syntax

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

Parameters

member
Type: System.Reflection.ICustomAttributeProvider

Member to search for the attribute on.

Returns

Attribute if it was found; otherwise null (Nothing in Visual Basic).