Target
Gets access to the declaration being overridden or introduced.
Declaration
public static IMetaTarget Target { get; }Property Value
| Type | Description |
|---|---|
| IMetaTarget |
Remarks
The Target property provides access to metadata and invokers for the target declaration:
- Method - Access method metadata (name, parameters, return type, attributes)
- FieldOrProperty - Access field/property metadata and use
.Valueto get/set the underlying value - Event - Access event metadata and use
.Add/.Removeto manage handlers - Parameters - Access parameter metadata (
meta.Target.Parameters[0]) and values (meta.Target.Parameters[0].Value)