Click or drag to resize
TestUtilitiesAssignPropertyValue Method
Assigns a constant dummy value to a property on an object.

Namespace: Test.Framework
Assembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void AssignPropertyValue(
	Object obj,
	PropertyInfo property,
	bool useValue1
)

Parameters

obj
Type: SystemObject
The object to assign to.
property
Type: System.ReflectionPropertyInfo
The property to assign.
useValue1
Type: SystemBoolean
True if the first constant value should be assigned, false if the second (different) constant value should be assigned.
See Also