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: