CustomAttributeInstance.Target Property
Target
Gets the declaration on which the custom attribute is defined.
Declaration
public object Target { get; }
Property Value
Type | Description |
---|---|
Object | A reflection object: Assembly, System.Type, MethodInfo, ConstructorInfo, ParameterInfo, System.Reflection.PropertyInfo, EventInfo, System.Reflection.FieldInfo. |