PrivateObject.SetFieldOrProperty Method (String, BindingFlags, Object)
Visual Studio 2012
Sets a value of a wrapped field or property based on the name.
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
- 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.