共用方式為


MediaElement.PlayToPreferredSourceUriProperty 屬性

定義

識別 PlayToPreferredSourceUri 相依性屬性。

public:
 static property DependencyProperty ^ PlayToPreferredSourceUriProperty { DependencyProperty ^ get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToPreferredSourceUri may be altered or unavailable for releases after Windows 10.0. Instead, use GetAsCastingSource().PreferredSourceUri.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
static DependencyProperty PlayToPreferredSourceUriProperty();
/// [get: Windows.Foundation.Metadata.Deprecated("PlayToPreferredSourceUri may be altered or unavailable for releases after Windows 10.0. Instead, use GetAsCastingSource().PreferredSourceUri.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
static DependencyProperty PlayToPreferredSourceUriProperty();
public static DependencyProperty PlayToPreferredSourceUriProperty { [Windows.Foundation.Metadata.Deprecated("PlayToPreferredSourceUri may be altered or unavailable for releases after Windows 10.0. Instead, use GetAsCastingSource().PreferredSourceUri.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; }
public static DependencyProperty PlayToPreferredSourceUriProperty { [Windows.Foundation.Metadata.Deprecated("PlayToPreferredSourceUri may be altered or unavailable for releases after Windows 10.0. Instead, use GetAsCastingSource().PreferredSourceUri.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; }
var dependencyProperty = MediaElement.playToPreferredSourceUriProperty;
Public Shared ReadOnly Property PlayToPreferredSourceUriProperty As DependencyProperty

屬性值

PlayToPreferredSourceUri相依性屬性的識別碼。

屬性

適用於