CommentInfo.LineStart 属性

指定定义行注释的字符串。

命名空间:  Microsoft.VisualStudio.Package
程序集:   Microsoft.VisualStudio.Package.LanguageService.10.0(在 Microsoft.VisualStudio.Package.LanguageService.10.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.11.0(在 Microsoft.VisualStudio.Package.LanguageService.11.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.9.0(在 Microsoft.VisualStudio.Package.LanguageService.9.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService(在 Microsoft.VisualStudio.Package.LanguageService.dll 中)

语法

声明
Public Property LineStart As String
public string LineStart { get; set; }

属性值

类型:System.String
返回定义行注释的字符串。

备注

如果该语言支持行注释,还必须设置 UseLineComments 属性设置为 true。

.NET Framework 安全性

请参见

参考

CommentInfo 结构

Microsoft.VisualStudio.Package 命名空间