Share via


PrivateObject.GetArrayElement Method

Definition

Overloads

GetArrayElement(String, Int32[])

Gets the array element using array of subscripts for each dimension

GetArrayElement(String, BindingFlags, Int32[])

Gets the array element using array of subscripts for each dimension

GetArrayElement(String, Int32[])

Gets the array element using array of subscripts for each dimension

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

Name of the member

indices
Int32[]

the indices of array

Returns

An array of elements.

Applies to

GetArrayElement(String, BindingFlags, Int32[])

Gets the array element using array of subscripts for each dimension

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

Parameters

name
String

Name of the member

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 array of elements.

Applies to