This document is archived and information here might be outdated. Recommended version.
Reference to the parent application.
[Visual Basic .NET] Public ReadOnly Property Parent As AppRef
[C#] public AppRef Parent {get;}