Open sandboxFocus

Method SetValue

SetValue(ILocationBinding, object, Arguments, object)

Sets the value of an indexer (property with arguments).

Declaration
public static void SetValue(this ILocationBinding locationBinding, object instance, Arguments index, object value)
Parameters
Type Name Description
ILocationBinding locationBinding

The binding for the indexer.

object instance

The instance for which the indexer is set, or null if the indexer is static.

Arguments index

The arguments of the indexer.

object value

The new value.

See Also

SetValue<T>(ILocationBinding<T>, object, Arguments, T)

Sets the value of an indexer (property with arguments).

Declaration
public static void SetValue<T>(this ILocationBinding<T> locationBinding, object instance, Arguments index, T value)
Parameters
Type Name Description
ILocationBinding<T> locationBinding

The binding for the indexer.

object instance

The instance for which the indexer is set, or null if the indexer is static.

Arguments index

The arguments of the indexer.

T value

The new value.

Type Parameters
Name Description
T
See Also

SetValue<T>(ILocationBinding<T>, object, T)

Sets the value of a field or property.

Declaration
public static void SetValue<T>(this ILocationBinding<T> locationBinding, object instance, T value)
Parameters
Type Name Description
ILocationBinding<T> locationBinding

The binding for the field or property.

object instance

The instance for which the field or property is set, or null if the location is static.

T value

The new value assigned to the field or property.

Type Parameters
Name Description
T
See Also

SetValue(ILocationBinding, object, object)

Sets the value of a field or property.

Declaration
public static void SetValue(this ILocationBinding locationBinding, object instance, object value)
Parameters
Type Name Description
ILocationBinding locationBinding

The binding for the field or property.

object instance

The instance for which the field or property is set, or null if the location is static.

object value

The new value assigned to the field or property.

See Also