Flexible TreeView 5.1.9 Help
ConvertToDataSourceType Method



The treeview-supported data type value.
The bound member metadata.
Need to be set to true if source value has been converted, or false if conversion hasn`t been made, possible, etc.
Converts the treeview-supported data type value to the bound data source original data type.
Syntax
'Declaration
 
Function ConvertToDataSourceType( _
   ByVal pValue As Object, _
   ByVal pMetadata As MemberMetadata, _
   ByRef pHandled As Boolean _
) As Object
'Usage
 
Dim instance As IBoundValueConverter
Dim pValue As Object
Dim pMetadata As MemberMetadata
Dim pHandled As Boolean
Dim value As Object
 
value = instance.ConvertToDataSourceType(pValue, pMetadata, pHandled)
object ConvertToDataSourceType( 
   object pValue,
   MemberMetadata pMetadata,
   out bool pHandled
)
Object^ ConvertToDataSourceType( 
   Object^ pValue,
   MemberMetadata^ pMetadata,
   [Out] bool pHandled
) 

Parameters

pValue
The treeview-supported data type value.
pMetadata
The bound member metadata.
pHandled
Need to be set to true if source value has been converted, or false if conversion hasn`t been made, possible, etc.

Return Value

Converted value if conversion was successful, or original pValue value otherwise.
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

IBoundValueConverter Interface
IBoundValueConverter Members

Send Feedback