Click or drag to resize
Ranorex

ValueConverterGetDefaultValue Method

Creates a default instance of the specified type.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static Object GetDefaultValue(
	Type targetType
)

Parameters

targetType
Type: SystemType
The target type to create a default instance of.

Return Value

Type: Object
The default instance or value for the targetType.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf the targetType is null.
See Also