Export (0) Print
Expand All

PrivateType.SetStaticField Method (String, Object)

Sets a static field contained in the wrapped type.

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

public void SetStaticField(
	string name,
	Object value
)

Parameters

name
Type: System.String

The name of the static field.

value
Type: System.Object

The value to set to the static field.

Show:
© 2014 Microsoft