共用方式為


PrivateObject.SetArrayElement Method

Include Protected Members
Include Inherited Members

Sets the array element by using an array of subscripts for each dimension.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method SetArrayElement(String, Object, array<Int32[]) Sets the array element by using an array of subscripts for each dimension.
Public method SetArrayElement(String, BindingFlags, Object, array<Int32[]) Sets the array element by using an array of subscripts for each dimension.

Top

See Also

Reference

PrivateObject Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace