GetCustomAttribute(Module, Type, bool) Method

Retrieves a custom attribute applied to a module. Parameters specify the module, the type of the custom attribute to search for, and an ignored search option.
Namespace: Z.Reflection.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static Attribute GetCustomAttribute(this Module element, Type attributeType, bool inherit)

Parameters

element
Type:  Module
An object derived from the class that describes a portable executable file.
attributeType
Type:  Type
The type, or a base type, of the custom attribute to search for.
inherit
Type:  Boolean
This parameter is ignored, and does not affect the operation of this method.

Return Value

Type:  Attribute
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)