PrivateObject.SetArrayElement Method

Definition

Overloads

SetArrayElement(String, Object, Int32[])

Sets the array element using array of subscripts for each dimension

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

Sets the array element using array of subscripts for each dimension

SetArrayElement(String, Object, Int32[])

Sets the array element using array of subscripts for each dimension

public:
 void SetArrayElement(System::String ^ name, System::Object ^ value, ... cli::array <int> ^ indices);
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

Name of the member

value
Object

Value to set

indices
Int32[]

the indices of array

Applies to

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

Sets the array element using array of subscripts for each dimension

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

Parameters

name
String

Name of the member

bindingFlags
BindingFlags

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

value
Object

Value to set

indices
Int32[]

the indices of array

Applies to