IModelItemOwner Interface

Takes ownership of the lifetime of a set of ModelItem objects.

  public interface IModelItemOwner

Public Instance Methods

Method Description
RegisterObject Registers the specified ModelItem to be tracked for disposal.
UnregisterObject Indicates that the specified ModelItem is not to be tracked for disposal.

Remarks

It is the responsibility of whatever implements this interface to dispose all ModelItem objects passed to it through the RegisterObject method.

Requirements

Reference: Microsoft.MediaCenter.UI

Namespace: Microsoft.MediaCenter.UI

Assembly: Microsoft.MediaCenter.UI.dll

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

See Also