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



pType
Returns the default value of a type: usually '0' or null for any data type. Note that this is subtly different from the TypeFns.GetDefaultValue method in that it returns Today for a default date time.

Syntax

Visual Basic (Declaration) 
Public Shared Function DevForceDefaultValueFunction( _
   ByVal pType As Type _
) As Object
Visual Basic (Usage)Copy Code
Dim pType As Type
Dim value As Object
 
value = EntityMetadata.DevForceDefaultValueFunction(pType)
C# 
public static object DevForceDefaultValueFunction( 
   Type pType
)
C++/CLI 
public:
static Object^ DevForceDefaultValueFunction( 
   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.