TestUtilitiesAssignPropertyValue Method |
Assigns a constant dummy value to a property on an object.
Namespace: Test.FrameworkAssembly: 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
)
Public Shared Sub AssignPropertyValue (
obj As Object,
property As PropertyInfo,
useValue1 As Boolean
)
public:
static void AssignPropertyValue(
Object^ obj,
PropertyInfo^ property,
bool useValue1
)
static member AssignPropertyValue :
obj : Object *
property : PropertyInfo *
useValue1 : bool -> unit
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