IsDefined(Module, Type) Method

Determines whether any custom attributes of a specified type are applied to a module. Parameters specify the module, and the type of the custom attribute to search for.
Namespace: Z.Reflection.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static bool IsDefined(this Module element, Type attributeType)

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.

Return Value

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