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 |
Arguments | index | The arguments of the indexer. |
Object | value | The new value. |
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 |
Arguments | index | The arguments of the indexer. |
T | value | The new value. |
Type Parameters
Name | Description |
---|---|
T |
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 |
T | value | The new value assigned to the field or property. |
Type Parameters
Name | Description |
---|---|
T |
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 |
Object | value | The new value assigned to the field or property. |