AddInHost.MediaContext Property

Gets a collection containing all of the properties for the current media context.


public MediaMetadata MediaContext {get;}

Property Value

Microsoft.MediaCenter.MediaMetadata. A collection of property-value pairs for the current media.

This property is read-only.


An application can register entry points in various More With This categories within Windows Media Center. When the user selects one of these entry points, the current media context is the More With This category that contains the selected entry point. For more information, see Integrating into More With This.


Reference: Microsoft.MediaCenter

Namespace: Microsoft.MediaCenter

Assembly: Microsoft.MediaCenter.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also