RegistrationBuilder.GetCustomAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a modified collection of custom attributes for the specified object, as represented in this reflection context.
Overloads
GetCustomAttributes(MemberInfo, IEnumerable<Object>) |
Provides a list of custom attributes for the specified member, as represented in this reflection context. |
GetCustomAttributes(ParameterInfo, IEnumerable<Object>) |
Provides a list of custom attributes for the specified parameter, as represented in this reflection context. |
GetCustomAttributes(MemberInfo, IEnumerable<Object>)
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
Provides a list of custom attributes for the specified member, as represented in this reflection context.
protected:
override System::Collections::Generic::IEnumerable<System::Object ^> ^ GetCustomAttributes(System::Reflection::MemberInfo ^ member, System::Collections::Generic::IEnumerable<System::Object ^> ^ declaredAttributes);
protected override System.Collections.Generic.IEnumerable<object> GetCustomAttributes (System.Reflection.MemberInfo member, System.Collections.Generic.IEnumerable<object> declaredAttributes);
override this.GetCustomAttributes : System.Reflection.MemberInfo * seq<obj> -> seq<obj>
Protected Overrides Function GetCustomAttributes (member As MemberInfo, declaredAttributes As IEnumerable(Of Object)) As IEnumerable(Of Object)
Parameters
- member
- MemberInfo
The member whose custom attributes will be returned.
- declaredAttributes
- IEnumerable<Object>
A collection of the member's attributes in its current context.
Returns
A collection that represents the custom attributes of the specified member in this reflection context.
Applies to
GetCustomAttributes(ParameterInfo, IEnumerable<Object>)
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
- Source:
- RegistrationBuilder.cs
Provides a list of custom attributes for the specified parameter, as represented in this reflection context.
protected:
override System::Collections::Generic::IEnumerable<System::Object ^> ^ GetCustomAttributes(System::Reflection::ParameterInfo ^ parameter, System::Collections::Generic::IEnumerable<System::Object ^> ^ declaredAttributes);
protected override System.Collections.Generic.IEnumerable<object> GetCustomAttributes (System.Reflection.ParameterInfo parameter, System.Collections.Generic.IEnumerable<object> declaredAttributes);
override this.GetCustomAttributes : System.Reflection.ParameterInfo * seq<obj> -> seq<obj>
Protected Overrides Function GetCustomAttributes (parameter As ParameterInfo, declaredAttributes As IEnumerable(Of Object)) As IEnumerable(Of Object)
Parameters
- parameter
- ParameterInfo
The parameter whose custom attributes will be returned.
- declaredAttributes
- IEnumerable<Object>
A collection of the parameter's attributes in its current context.
Returns
A collection that represents the custom attributes of the specified parameter in this reflection context.