Skip to content

hasattribute

eisclimber edited this page Apr 4, 2026 · 1 revision

AttributeHelpers.HasAttribute(MemberInfo)

Method in AttributeHelpers

Summary

Checks if a MemberInfo is annotated with the given Attribute.

public static bool HasAttribute<T>(MemberInfo memberInfo)
    where T : Attribute;

Parameters

Name Description
System.Reflection.MemberInfo memberInfo MemberInfo to be checked.

Type Parameters

Name Description
T Attribute to be checked.

Returns

If the member has the Attribute.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally