ExtensionBlockInfo.GetCustomAttributes Method

Namespace
Kampute.DocToolkit.Metadata.Reflection
Assembly
  • Kampute.DocToolkit.dll
ExtensionBlockInfo.GetCustomAttributes(bool)Returns all custom attributes applied to the extension block.
ExtensionBlockInfo.GetCustomAttributes(Type, bool)Returns custom attributes of the specified type applied to the extension block.

ExtensionBlockInfo.GetCustomAttributes(bool)

Returns all custom attributes applied to the extension block.
public override object[] GetCustomAttributes(bool inherit)

Parameters

inherit bool
true to search the inheritance chain; otherwise, false.

Returns

object[]
An array of custom attributes applied to the extension block.

ExtensionBlockInfo.GetCustomAttributes(Type, bool)

Returns custom attributes of the specified type applied to the extension block.
public override object[] GetCustomAttributes(Type attributeType, bool inherit)

Parameters

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

Returns

object[]
An array of custom attributes applied to the extension block.