CommentInfo.UseLineComments 属性

定义

指定是否支持行注释。

public:
 property bool UseLineComments { bool get(); void set(bool value); };
public:
 property bool UseLineComments { bool get(); void set(bool value); };
public bool UseLineComments { get; set; }
member this.UseLineComments : bool with get, set
Public Property UseLineComments As Boolean

属性值

Boolean

true如果行注释支持,则返回; 否则返回 false

注解

如果你的语言支持行注释,你还必须提供属性中的行注释字符 LineStart

适用于