PrivateType.GetStaticArrayElement Method (String, array<Int32[])

Gets a static array element contained in the wrapped type.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.SmartDevice.UnitTestFramework (in Microsoft.VisualStudio.SmartDevice.UnitTestFramework.dll)

Syntax

'Declaration
Public Function GetStaticArrayElement ( _
    name As String, _
    ParamArray indices As Integer() _
) As Object
'Usage
Dim instance As PrivateType 
Dim name As String 
Dim indices As Integer()
Dim returnValue As Object 

returnValue = instance.GetStaticArrayElement(name, _
    indices)
public Object GetStaticArrayElement(
    string name,
    params int[] indices
)
public:
Object^ GetStaticArrayElement(
    String^ name, 
    ... array<int>^ indices
)
public function GetStaticArrayElement(
    name : String, 
    ... indices : int[]
) : Object

Parameters

  • 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

See Also

Reference

PrivateType Class

PrivateType Members

GetStaticArrayElement Overload

Microsoft.VisualStudio.TestTools.UnitTesting Namespace