Module.GetCustomAttributes Method (Boolean)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns all custom attributes.

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

abstract GetCustomAttributes : 
        inherit:bool -> Object[]
override GetCustomAttributes : 
        inherit:bool -> Object[]


Type: System.Boolean

This argument is ignored for objects of this type.

Return Value

Type: System.Object[]

An array of type Object containing all custom attributes.

The following example displays the module names that match the specified search criteria.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top