PrivateType.SetStaticArrayElement PrivateType.SetStaticArrayElement PrivateType.SetStaticArrayElement Method

Definition

Overloads

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

Sets the memeber of the static array

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

Sets the memeber of the static array

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

Sets the memeber of the static array

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

Parameters

name
String String String

Name of the array

value
Object Object Object

value to set

indices
Int32[]

A one-dimensional array of 32-bit integers that represent the indexes specifying the position of the element to set. For instance, to access a[10][11] the array would be {10,11}

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

Sets the memeber of the static array

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

Parameters

name
String String String

Name of the array

bindingFlags
BindingFlags BindingFlags BindingFlags

Additional InvokeHelper attributes

value
Object Object Object

value to set

indices
Int32[]

A one-dimensional array of 32-bit integers that represent the indexes specifying the position of the element to set. For instance, to access a[10][11] the array would be {10,11}

Applies to