Version

GetSubItemId(Object,Boolean) Method

Determines the sub-item from the given source object by traversing the Visual Tree upwards/downwards till a sub-item is found.
Syntax
'Declaration
 
Protected Overloads Overrides Function GetSubItemId( _
   ByVal oSourceObject As System.Object, _
   ByVal bGetOwningSubItem As System.Boolean _
) As System.Object
protected override System.object GetSubItemId( 
   System.object oSourceObject,
   System.bool bGetOwningSubItem
)
protected: System.Object* GetSubItemId( 
   System.Object* oSourceObject,
   System.bool bGetOwningSubItem
) override 

Parameters

oSourceObject
bGetOwningSubItem
If true, traverses the Visual tree upwards from the given soure object to determine the sub-item, else traverses the tree downwards

Return Value

The unique identifier of the sub-item(if found) from the input object
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