Name
ICustomAttributeProvider
Synopsis
This interface is implemented if an object supports custom attributes. GetCustomAttributes()
returns the custom attributes, and IsDefined()
returns true if an attribute of a passed System.Type
is defined on this member.
Public Interface ICustomAttributeProvider ' Public Instance Methods Public Function GetCustomAttributes( ByVal inherit As Boolean) As Object() Public Function GetCustomAttributes( ByVal attributeType As Type, ByVal inherit As Boolean) As Object() Public Function IsDefined(ByVal attributeType As Type, ByVal inherit As Boolean) As Boolean End Interface
Implemented By
Assembly
, MemberInfo
, Module
, ParameterInfo
Returned By
MethodInfo.ReturnTypeCustomAttributes
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.