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.

AttributedModelProvider::GetCustomAttributes Method (Type^, MemberInfo^)

.NET Framework (current version)
 

Returns the list of attributes applied to the specified member of the specified type.

Namespace:   System.Composition.Convention
Assembly:  System.Composition.AttributedModel (in System.Composition.AttributedModel.dll)

public:
virtual IEnumerable<Attribute^>^ GetCustomAttributes(
	Type^ reflectedType,
	MemberInfo^ member
) abstract

Parameters

reflectedType
Type: System::Type^

The type.

member
Type: System.Reflection::MemberInfo^

The member to inspect.

Return Value

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

A collection of the attributes applied to the specified member.

Return to top
Show:
© 2017 Microsoft