Returns all the custom attributes defined for this field.
Syntax
public override
object[]
GetCustomAttributes (
bool inherit)
Parameters
- inherit
-
Controls inheritance of custom attributes from base classes.
Returns
An array of type object representing all the custom attributes of the constructor represented by this System.Reflection.Emit.FieldBuilder instance.
Remarks
Requirements
Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0