PrivateObject.SetArrayElement PrivateObject.SetArrayElement PrivateObject.SetArrayElement Method

Definition

Overloads

SetArrayElement(String, Object, Int32[]) SetArrayElement(String, Object, Int32[]) SetArrayElement(String, Object, Int32[])

Sets the array element using array of subsrcipts for each dimension

SetArrayElement(String, BindingFlags, Object, Int32[]) SetArrayElement(String, BindingFlags, Object, Int32[])

Sets the array element using array of subsrcipts for each dimension

SetArrayElement(String, Object, Int32[]) SetArrayElement(String, Object, Int32[]) SetArrayElement(String, Object, Int32[])

Sets the array element using array of subsrcipts for each dimension

public void SetArrayElement (string name, object value, params int[] indices);
member this.SetArrayElement : string * obj * int[] -> unit
Public Sub SetArrayElement (name As String, value As Object, ParamArray indices As Integer())

Parameters

name
String String String

Name of the member

value
Object Object Object

Value to set

indices
Int32[]

the indices of array

SetArrayElement(String, BindingFlags, Object, Int32[]) SetArrayElement(String, BindingFlags, Object, Int32[])

Sets the array element using array of subsrcipts for each dimension

public void SetArrayElement (string name, System.Reflection.BindingFlags bindingFlags, object value, params int[] indices);
member this.SetArrayElement : string * System.Reflection.BindingFlags * obj * int[] -> unit

Parameters

name
String String String

Name of the member

bindingFlags
BindingFlags BindingFlags BindingFlags

A bitmask comprised of one or more BindingFlags that specify how the search is conducted.

value
Object Object Object

Value to set

indices
Int32[]

the indices of array

Applies to