CompositionObject.Comment 屬性

定義

要與 CompositionObject 建立關聯的字串。

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

void Comment(winrt::hstring value);
public string Comment { get; set; }
var string = compositionObject.comment;
compositionObject.comment = string;
Public Property Comment As String

屬性值

String

Platform::String

winrt::hstring

要與 CompositionObject 建立關聯的字串。 請注意,針對 Visual Studio 的即時視覺化樹狀結構偵錯工具,特定視覺效果顯示的名稱將會從其 Comment 屬性提取

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

適用於