Partager via


PrivateType.SetStaticProperty Method

Include Protected Members
Include Inherited Members

Sets a static 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 SetStaticProperty(String, Object, array<Object[]) Sets a static property contained in the wrapped type.
Public method SetStaticProperty(String, Object, array<Type[], array<Object[]) Sets a static property contained in the wrapped type.
Public method SetStaticProperty(String, BindingFlags, Object, array<Object[]) Sets a static property contained in the wrapped type.
Public method SetStaticProperty(String, BindingFlags, Object, array<Type[], array<Object[]) Sets a static property contained in the wrapped type.

Top

See Also

Reference

PrivateType Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace