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.

CustomAttributeData::GetCustomAttributes Method (Module^)

 

Returns a list of CustomAttributeData objects representing data about the attributes that have been applied to the target module.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public:
static IList<CustomAttributeData^>^ GetCustomAttributes(
	Module^ target
)

Parameters

target
Type: System.Reflection::Module^

The module whose custom attribute data is to be retrieved.

Return Value

Type: System.Collections.Generic::IList<CustomAttributeData^>^

A list of objects that represent data about the attributes that have been applied to the target module.

Exception Condition
ArgumentNullException

target is null.

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