_Type.GetCustomAttributes Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Provides COM objects with version-independent access to the MemberInfo.GetCustomAttributes method.

Namespace:   System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodGetCustomAttributes(Boolean)

Provides COM objects with version-independent access to the Assembly.GetCustomAttributes method.

System_CAPS_pubmethodGetCustomAttributes(Type, Boolean)

Provides COM objects with version-independent access to the MemberInfo.GetCustomAttributes method.

This method is for access to managed classes from unmanaged code, and should not be called from managed code.

The MemberInfo.GetCustomAttributes method returns all attributes applied to this member.

Return to top
Show: