Open sandboxFocus

Property FieldOrProperty

FieldOrProperty

Gets the target field or property, or throws an exception if the advice does not target a field or a property.

Declaration
IFieldOrProperty FieldOrProperty { get; }
Property Value
Type Description
IFieldOrProperty
Remarks

Access the underlying value using meta.Target.FieldOrProperty.Value in property override templates. This works for both reading and writing the value.

See Also