Chili.Opf3 Send comments on this topic.
ChangeFromDataType Method
See Also 
Chili.Opf3.Storages Namespace > ICustomDataTypesStorage Interface : ChangeFromDataType Method




value
Value loaded from the storage.
targetType
The type of the member of the persistent object.
Allows to convert from the type in the storage to the target type of the object.

Syntax

Visual Basic (Declaration) 
Overridable Function ChangeFromDataType( _
   ByVal value As Object, _
   ByVal targetType As Type _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As ICustomDataTypesStorage
Dim value As Object
Dim targetType As Type
Dim value As Object
 
value = instance.ChangeFromDataType(value, targetType)
C# 
virtual object ChangeFromDataType( 
   object value,
   Type targetType
)
Managed Extensions for C++ 
virtual Object* ChangeFromDataType( 
   Object* value,
   Type* targetType
) 
C++/CLI 
virtual Object^ ChangeFromDataType( 
   Object^ value,
   Type^ targetType
) 

Parameters

value
Value loaded from the storage.
targetType
The type of the member of the persistent object.

Return Value

The value converted to the target type.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also