共用方式為


AppBroadcastBackgroundService.BroadcastChannel 屬性

定義

取得包含目前廣播通道名稱的字串。

public:
 property Platform::String ^ BroadcastChannel { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring BroadcastChannel();

void BroadcastChannel(winrt::hstring value);
public string BroadcastChannel { get; set; }
var string = appBroadcastBackgroundService.broadcastChannel;
appBroadcastBackgroundService.broadcastChannel = string;
Public Property BroadcastChannel As String

屬性值

String

Platform::String

winrt::hstring

包含目前廣播通道名稱的字串。

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.16299.0 引進)
API contract
Windows.Media.Capture.AppBroadcastContract (已於 v2.0 引進)

適用於