CommentInfo::UseLineComments Property

 

Specifies whether line comments are supported.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property bool UseLineComments {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

Returns true if line comments are support; otherwise, returns false.

If your language supports line comments, you must also supply the line comment characters in the LineStart property.

Return to top
Show: