CastingSource.PreferredSourceUri 속성

정의

DLNA ByRef와 함께 사용할 콘텐츠에 대한 대체 URI를 가져오거나 설정합니다.

public:
 property Uri ^ PreferredSourceUri { Uri ^ get(); void set(Uri ^ value); };
Uri PreferredSourceUri();

void PreferredSourceUri(Uri value);
public System.Uri PreferredSourceUri { get; set; }
var uri = castingSource.preferredSourceUri;
castingSource.preferredSourceUri = uri;
Public Property PreferredSourceUri As Uri

속성 값

콘텐츠에 대한 대체 URI입니다.

예제

#include <winrt/Windows.Media.Casting.h>
...
Windows::UI::Xaml::Controls::MediaElement video;
video.Source(Windows::Foundation::Uri{ L"http://www.contoso.com/videos/video.mp4" });
video.GetAsCastingSource().PreferredSourceUri(Windows::Foundation::Uri{ L"http://www.contoso.com/catalogid=1234" });

적용 대상