IWithCustomAttributes.HasCustomAttribute Method

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

Definition

Determines whether the element has a specific custom attribute applied.
bool HasCustomAttribute(string attributeFullName)

Parameters

attributeFullName string
The full name of the attribute type to check for.

Returns

bool
true if the element has the specified attribute applied; otherwise, false.