PrivateType.SetStaticArrayElement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetStaticArrayElement(String, Object, Int32[]) |
Sets the member of the static array |
SetStaticArrayElement(String, BindingFlags, Object, Int32[]) |
Sets the member of the static array |
SetStaticArrayElement(String, Object, Int32[])
Sets the member of the static array
public:
void SetStaticArrayElement(System::String ^ name, System::Object ^ value, ... cli::array <int> ^ indices);
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
Name of the array
- value
- 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
SetStaticArrayElement(String, BindingFlags, Object, Int32[])
Sets the member of the static array
public:
void SetStaticArrayElement(System::String ^ name, System::Reflection::BindingFlags bindingFlags, System::Object ^ value, ... cli::array <int> ^ indices);
public void SetStaticArrayElement (string name, System.Reflection.BindingFlags bindingFlags, object value, params int[] indices);
member this.SetStaticArrayElement : string * System.Reflection.BindingFlags * obj * int[] -> unit
Public Sub SetStaticArrayElement (name As String, bindingFlags As BindingFlags, value As Object, ParamArray indices As Integer())
Parameters
- name
- String
Name of the array
- bindingFlags
- BindingFlags
Additional InvokeHelper attributes
- value
- 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}