Compartilhar via


PrivateType.SetStaticField Method

Include Protected Members
Include Inherited Members

Sets a static field contained in the wrapped type.

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 SetStaticField(String, Object) Sets a static field contained in the wrapped type.
Public method SetStaticField(String, BindingFlags, Object) Sets a static field contained in the wrapped type.

Top

See Also

Reference

PrivateType Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace