แก้ไข

แชร์ผ่าน


Localization.SetComments(Object, String) Method

Definition

Sets the CommentsProperty attached property to the specified element.

public:
 static void SetComments(System::Object ^ element, System::String ^ comments);
public static void SetComments (object element, string comments);
static member SetComments : obj * string -> unit
Public Shared Sub SetComments (element As Object, comments As String)

Parameters

element
Object

A Object that represents the element whose attached property you want to set.

comments
String

A String that specifies the localization comments.

Examples

The following code example shows how to set the localization comments for a text block.

Remarks

Localization comments are free-form text that the application developer includes. For more information on how to define localization comments, see Localization Attributes and Comments.

Applies to

See also