Flexible TreeView 5.1.9 Help
ConvertToTreeviewType Method



The bound member source 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 member value stored in a bound data source to the treeview-supported data type.
Syntax
'Declaration
 
Function ConvertToTreeviewType( _
   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.ConvertToTreeviewType(pValue, pMetadata, pHandled)
object ConvertToTreeviewType( 
   object pValue,
   MemberMetadata pMetadata,
   out bool pHandled
)
Object^ ConvertToTreeviewType( 
   Object^ pValue,
   MemberMetadata^ pMetadata,
   [Out] bool pHandled
) 

Parameters

pValue
The bound member source 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