Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RegistrationBuilder::GetCustomAttributes Method (MemberInfo^, IEnumerable<Object^>^)

.NET Framework (current version)
 

Provides a list of custom attributes for the specified member, as represented in this reflection context.

Namespace:   System.ComponentModel.Composition.Registration
Assembly:  System.ComponentModel.Composition.Registration (in System.ComponentModel.Composition.Registration.dll)

protected:
virtual IEnumerable<Object^>^ GetCustomAttributes(
	MemberInfo^ member,
	IEnumerable<Object^>^ declaredAttributes
) override

Parameters

member
Type: System.Reflection::MemberInfo^

The member whose custom attributes will be returned.

declaredAttributes
Type: System.Collections.Generic::IEnumerable<Object^>^

A collection of the member's attributes in its current context.

Return Value

Type: System.Collections.Generic::IEnumerable<Object^>^

A collection that represents the custom attributes of the specified member in this reflection context.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft