CompositionObject.Comment Property

Definition

A string to associate with the 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

Property Value

String

A string to associate with the CompositionObject. Note that for Visual Studio's Live Visual Tree debugging tool, the name displayed for a particular visual will be pulled from its Comment property

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to