IdeaBlade DevForce 2010 Help Reference
GetDefaultValue Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > TypeFns Class : GetDefaultValue Method



type
Gets the default value for a specified type.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetDefaultValue( _
   ByVal type As Type _
) As Object
Visual Basic (Usage)Copy Code
Dim type As Type
Dim value As Object
 
value = TypeFns.GetDefaultValue(type)
C# 
public static object GetDefaultValue( 
   Type type
)
C++/CLI 
public:
static Object^ GetDefaultValue( 
   Type^ type
) 

Parameters

type

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.