Udostępnij za pośrednictwem


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

Platform::String

winrt::hstring

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 requirements

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

Applies to