System.Reflection.Emit.MethodBuilder.GetCustomAttributes Method

Returns all the custom attributes defined for this method.

Syntax

public override object[] GetCustomAttributes (bool inherit)

Parameters

inherit
Specifies whether to search this member's inheritance chain to find the custom attributes.

Returns

Returns an array of objects representing all the custom attributes of this method.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0