This document is archived and information here might be outdated. Recommended version.
Get/Set context item used for menus.
[Visual Basic .NET] Public Property ContextItem As Object
[C#] public object ContextItem {get; set;}