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 中引入)

适用于