共用方式為


CommentInfo.LineStart Property

Definition

Specifies the string of characters that define the start of a line comment.

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

Property Value

Returns the string of characters that define the start of a line comment.

Remarks

If your language supports line comments, you must also set the UseLineComments property to true.

Applies to