PrivateObject.GetArrayElement PrivateObject.GetArrayElement PrivateObject.GetArrayElement Method

Definition

Overloads

GetArrayElement(String, Int32[]) GetArrayElement(String, Int32[]) GetArrayElement(String, Int32[])

Gets the array element using array of subsrcipts for each dimension

GetArrayElement(String, BindingFlags, Int32[]) GetArrayElement(String, BindingFlags, Int32[])

Gets the array element using array of subsrcipts for each dimension

GetArrayElement(String, Int32[]) GetArrayElement(String, Int32[]) GetArrayElement(String, Int32[])

Gets the array element using array of subsrcipts for each dimension

public object GetArrayElement (string name, params int[] indices);
member this.GetArrayElement : string * int[] -> obj
Public Function GetArrayElement (name As String, ParamArray indices As Integer()) As Object

Parameters

name
String String String

Name of the member

indices
Int32[]

the indices of array

Returns

An arrya of elements.

GetArrayElement(String, BindingFlags, Int32[]) GetArrayElement(String, BindingFlags, Int32[])

Gets the array element using array of subsrcipts for each dimension

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

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.

indices
Int32[]

the indices of array

Returns

An arrya of elements.

Applies to