Click or drag to resize

imbTypologyHelpersGetDefaultValue Method (Type)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Returns default value for type. It may be new instance if t is class type.

Namespace:  imbSCI.Core.extensions.typeworks
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static Object GetDefaultValue(
	this Type t
)
Request Example View Source

Parameters

t
Type: SystemType
The Type to get value for.

Return Value

Type: Object
Proper default value

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