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.

ConventionBuilder::GetCustomAttributes Method (Type^, ParameterInfo^)

.NET Framework (current version)
 

Retrieves the list of custom attributes applied to the specified parameter of the specified type.

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

public:
virtual IEnumerable<Attribute^>^ GetCustomAttributes(
	Type^ reflectedType,
	ParameterInfo^ parameter
) override

Parameters

reflectedType
Type: System::Type^

The type.

parameter
Type: System.Reflection::ParameterInfo^

The parameter to inspect.

Return Value

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

A collection of custom attributes.

Return to top
Show:
© 2017 Microsoft