Skip to content

getattribute

eisclimber edited this page Apr 4, 2026 · 1 revision

AttributeHelpers.GetAttribute(MemberInfo)

Method in AttributeHelpers

Summary

Retrieves an attribute from a MemberInfo if possible.

public static T GetAttribute<T>(MemberInfo memberInfo)
    where T : Attribute

Parameters

Name Description
System.Reflection.MemberInfo memberInfo MemberInfo to retrieve the attribute from.

Type Parameters

Name Description
T Attribute to be retrieved.

Returns

The attribute or null if not found.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally