AudioStreamDescriptor.Label 屬性

定義

取得或設定應用程式定義的標籤,識別包含多個資料流程之 MediaEncodingProfile 中的音訊資料流程。

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

void Label(winrt::hstring value);
public string Label { get; set; }
var string = audioStreamDescriptor.label;
audioStreamDescriptor.label = string;
Public Property Label As String

屬性值

String

Platform::String

winrt::hstring

可識別音訊資料流程的應用程式定義標籤

實作

Windows 需求

裝置系列
Windows 10 Fall Creators Update (已於 10.0.16299.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v5.0 引進)

備註

單一 MediaEncodingProfile 中每個資料流程的標籤必須是唯一的。 呼叫 SetAudioTracks 以新增包含重複標籤的資料流程描述元,將會導致不正確引數錯誤。

適用於