Yes here's an example. If a constituent is not found, you need to find it somehow or take an action.
Sub Main()
Dim args As String() = Environment.GetCommandLineArgs()
Dim Hook As IAutomationHook = New AutomationHook()
Hook.Initialize(Nothing, Nothing, Nothing, False, 0)
Dim...