ConventionBuilder::GetCustomAttributes Method (Type^, ParameterInfo^)
.NET Framework (current version)
Retrieves the list of custom attributes applied to the specified parameter of the specified type.
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.
Show: