Source Property
Collapse the table of content
Expand the table of content

SaveRingtoneTask.Source Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

File path to the local copy of the audio file to be added to the ringtone directory.

Namespace:  Microsoft.Phone.Tasks
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.

'Declaration
Public Property Source As Uri
<object Source="Uri" .../>

Property Value

Type: System.Uri
Returns Uri.

Important noteImportant Note:
  • Ringtone files must be of type MP3 or WMA.

  • Ringtone files must be less than 40 seconds in length.

  • Ringtone files must not have digital rights management (DRM) protection.

  • Ringtone files must be less than 1 MB in size.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft