AddInHost Class

Enables applications to retrieve information about Windows Media Center and extend Windows Media Center's capabilities.

Syntax

public sealed class AddInHost : Microsoft.MediaCenter.UI.IPropertyObject

Public Static Properties

Property Description
Current Gets the current AddInHost object.

Public Instance Properties

Property Description
ApplicationContext Gets an ApplicationContext object used to register a Windows Media Center application and retrieve information about applications.
ApplicationControlEnabled Gets a value that indicates whether application control is enabled.
EntryPointParameters Gets an array of parameters that is passed to the application. If the application is launched directly from Windows Media Center, this value is null.
MediaCenterEnvironment Gets a MediaCenterEnvironment class that an application can use to control the Windows Media Center experience.
MediaContext Gets a collection containing all of the properties for the current media context.
MetadataAccessEnabled Gets a value that indicates whether metadata access is enabled.
ViewPorts Gets an object that allows access to the shared Now Playing and custom video view ports.

Public Instance Events

Event Description
PropertyChanged Raised when an AddInHost property changes.

See Also