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);

Parameters

name
String

Name of the member

indices
Int32[]

the indices of array

Returns

An array of elements.

Applies to

Visual Studio SDK 2022 和其他版本
产品 版本
Visual Studio SDK 2017, 2019, 2022

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);

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

Visual Studio SDK 2022 和其他版本
产品 版本
Visual Studio SDK 2017, 2019, 2022