Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. System.Reflection
  3. MemberInfo
  4. GetCustomAttributes(MemberInfo, Type)
  • MemberInfo
    • MemberInfo()
    • CustomAttributes
    • DeclaringType
    • IsCollectible
    • MemberType
    • MetadataToken
    • Module
    • Name
    • ReflectedType
    • Equals(Object)
    • GetCustomAttributes(Boolean)
    • GetCustomAttributes(Type, Boolean)
    • GetCustomAttributesData()
    • GetHashCode()
    • HasSameMetadataDefinitionAs(MemberInfo)
    • IsDefined(Type, Boolean)
    • operator !=(MemberInfo, MemberInfo)
    • operator ==(MemberInfo, MemberInfo)
    • GetCustomAttribute(MemberInfo, Type)
    • GetCustomAttribute(MemberInfo, Type, Boolean)
    • GetCustomAttribute<T>(MemberInfo)
    • GetCustomAttribute<T>(MemberInfo, Boolean)
    • GetCustomAttributes(MemberInfo)
    • GetCustomAttributes(MemberInfo, Boolean)
    • GetCustomAttributes(MemberInfo, Type)
    • GetCustomAttributes(MemberInfo, Type, Boolean)
    • GetCustomAttributes<T>(MemberInfo)
    • GetCustomAttributes<T>(MemberInfo, Boolean)
    • GetMetadataToken(MemberInfo)
    • HasMetadataToken(MemberInfo)
    • IsDefined(MemberInfo, Type)
    • IsDefined(MemberInfo, Type, Boolean)
net10.0
namespace System.Reflection
{
    public static class CustomAttributeExtensions
    {
        public static IEnumerable<Attribute!>! GetCustomAttributes(this MemberInfo! element, Type! attributeType);
    }
}
nuget.org
0.3 %
Reference this API
.NET
5.06.07.08.09.010.0
.NET Core
3.03.1
.NET Framework
4.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net10.0
Assembly

System.Runtime , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

01/11/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙