Freigeben über


PrivateType.GetStaticArrayElement Method

Definition

Overloads

GetStaticArrayElement(String, Int32[])

Gets the element in static array

GetStaticArrayElement(String, BindingFlags, Int32[])

Gets the element in static array

GetStaticArrayElement(String, Int32[])

Gets the element in static array

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

Parameters

name
String

Name of the array

indices
Int32[]

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

Returns

element at the specified location

Applies to

GetStaticArrayElement(String, BindingFlags, Int32[])

Gets the element in static array

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

Parameters

name
String

Name of the array

bindingFlags
BindingFlags

Additional InvokeHelper attributes

indices
Int32[]

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

Returns

element at the specified location

Applies to