Click or drag to resize
weroSoft AG, Software
UnitTestSetPropertyValue Method (Type, String, Object)
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Sets the data object on a defined property of a particular type.

Namespace:  WeroSoft.UnitTesting
Assembly:  WeroSoft.UnitTesting.Library (in WeroSoft.UnitTesting.Library.dll) Version: 3.0 Pre-Release
public static void SetPropertyValue(
	this Type targetType,
	string propertyName,
	Object data


Type: SystemType
type on which the property shall be set.
Type: SystemString
Name of the property to be set.
Type: SystemObject
Data object which shall be set.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also