PrivateType.SetStaticFieldOrProperty Method

Include Protected Members
Include Inherited Members

Sets a static field or property 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

SetStaticFieldOrProperty(String, Object)

Sets a static field or property contained in the wrapped type.

Public method

SetStaticFieldOrProperty(String, BindingFlags, Object)

Sets a static field or property contained in the wrapped type.

Top

See Also

Reference

PrivateType Class

PrivateType Members

Microsoft.VisualStudio.TestTools.UnitTesting Namespace