Intersoft ClientUI Documentation
GetDefaultValue Method (TypeExtensions)



The underlying type.
Gets the default value for underlying type.
Syntax
<ExtensionAttribute()>
Public Shared Function GetDefaultValue( _
   ByVal type As Type _
) As Object
Dim type As Type
Dim value As Object
 
value = TypeExtensions.GetDefaultValue(type)
[ExtensionAttribute()]
public static object GetDefaultValue( 
   Type type
)
[ExtensionAttribute()]
public:
static Object^ GetDefaultValue( 
   Type^ type
) 

Parameters

type
The underlying type.

Return Value

Default value of underlying type.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TypeExtensions Class
TypeExtensions Members

Send Feedback