Share via


ModelItem.Dispose Method

Releases all the resources used by the ModelItem object, optionally unregistering it from its owner beforehand.

Overload List

  public void Dispose();
public void Dispose(
  ModelItemDisposeMode  
  disposeMode
);
protected void Dispose(
  bool  disposing
);

Parameters

disposeMode

Microsoft.MediaCenter.UI.ModelItemDisposeMode.  The owner unregistration option.

disposing

System.Booleantrue if the origin of the call is the Dispose method; otherwise, false.

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