CodeComment.Text 屬性

定義

取得或設定註解的內容。Gets or sets the text of the comment.

public:
 property System::String ^ Text { System::String ^ get(); void set(System::String ^ value); };
public string Text { get; set; }
member this.Text : string with get, set
Public Property Text As String

屬性值

含有註解文字的字串。A string containing the comment text.

備註

這個屬性的文字不應包含分行符號。The text of this property should not contain line breaks. 如果需要多行, 則應該CodeComment定義多個物件。If multiple lines are required, multiple CodeComment objects should be defined.

適用於