Share via


Sound Constructor

Initializes a new instance of the Sound class.

Syntax

  public Sound(
  string  
  source
);

Parameters

source

System.String.  A Uniform Resource Identifier (URI) that specifies the path (file://, res://, resx://, or http://) to the sound source.

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