 | 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
Syntaxpublic static Object GetDefaultValue(
Type targetType
)
Public Shared Function GetDefaultValue (
targetType As Type
) As Object
Parameters
- targetType
- Type: SystemType
The target type to create a default instance of.
Return Value
Type:
ObjectThe default instance or value for the
targetType.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If the targetType is null. |
See Also