Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a static array element contained in the wrapped type.
Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public Function GetStaticArrayElement ( _
    name As String, _
    bindingFlags As BindingFlags, _
    ParamArray indices As Integer() _
) As Object
public Object GetStaticArrayElement(
    string name,
    BindingFlags bindingFlags,
    params int[] indices
)
public:
Object^ GetStaticArrayElement(
    String^ name, 
    BindingFlags bindingFlags, 
    ... array<int>^ indices
)
member GetStaticArrayElement : 
        name:string * 
        bindingFlags:BindingFlags * 
        indices:int[] -> Object 
public function GetStaticArrayElement(
    name : String, 
    bindingFlags : BindingFlags, 
    ... indices : int[]
) : Object
Parameters
- name
Type: System.String
The name of the array 
- bindingFlags
Type: System.Reflection.BindingFlags 
- indices
Type: array<System.Int32[]
An array of subscripts for identifying the element to get. 
Return Value
Type: System.Object
An object that represents an element of name at the location specified with indices.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.