Flexible TreeView 5.1.9 Help
GetBoundObjectType Method



The node where to search for an object.
true if throw the exception when bounded object not found in the specified node.
Gets the type of an object that this node control is bounded to.
Syntax
'Declaration
 
Protected Function GetBoundObjectType( _
   ByVal pNode As Node, _
   ByVal pRaiseError As Boolean _
) As Type
'Usage
 
Dim instance As BindableControl
Dim pNode As Node
Dim pRaiseError As Boolean
Dim value As Type
 
value = instance.GetBoundObjectType(pNode, pRaiseError)
protected Type GetBoundObjectType( 
   Node pNode,
   bool pRaiseError
)
protected:
Type^ GetBoundObjectType( 
   Node^ pNode,
   bool pRaiseError
) 

Parameters

pNode
The node where to search for an object.
pRaiseError
true if throw the exception when bounded object not found in the specified node.

Return Value

Bounds object`s type or null if object not found.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionWhen the type of bound data cannot be obtained.
System.ArgumentNullExceptionWhen pNode is null.
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

BindableControl Class
BindableControl Members

Send Feedback