PrivateType.GetStaticArrayElement Method (String, array<Int32 )
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, _
ParamArray indices As Integer() _
) As Object
public Object GetStaticArrayElement(
string name,
params int[] indices
)
public:
Object^ GetStaticArrayElement(
String^ name,
... array<int>^ indices
)
member GetStaticArrayElement :
name:string *
indices:int[] -> Object
public function GetStaticArrayElement(
name : String,
... indices : int[]
) : Object
Parameters
- name
Type: System.String
The name of the array
- 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.