PostSharpAPI ReferencePost­Sharp.​AspectsILocation­Binding<T>Set­Value
Open sandboxFocus

Method SetValue

SetValue(ref Object, Arguments, T)

Invokes the Set semantic on the next node in the chain of invocation.

void SetValue(ref object instance, Arguments index, T value)
Type Name Description
Object instance

Target instance from which the field or property should be retrieved (null if the field or property is static).

Arguments index

Index arguments, if the location is an indexer property.

T value

New value to be stored at the location.