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



pType
Returns the default value for a simple type.

Syntax

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

Parameters

pType

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.