ExtensionBlockInfo.IsDefined Method

Namespace
Kampute.DocToolkit.Metadata.Reflection
Assembly
  • Kampute.DocToolkit.dll

Definition

Determines whether the specified attribute type is applied to the extension block.
public override bool IsDefined(Type attributeType, bool inherit)

Parameters

attributeType Type
The type of attribute to check.
inherit bool
true to search the inheritance chain; otherwise, false.

Returns

bool
true if the attribute is applied to the extension block; otherwise, false.