DevForce Help Reference
GetDefaultValue Method (TypeFns)


Gets the default value for a specified type.
Syntax
'Declaration
 
Public Shared Function GetDefaultValue( _
   ByVal type As Type _
) As Object
'Usage
 
Dim type As Type
Dim value As Object
 
value = TypeFns.GetDefaultValue(type)
public static object GetDefaultValue( 
   Type type
)

Parameters

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

TypeFns Class
TypeFns Members

Send Feedback