共用方式為


SyntaxFactory.DocumentationCommentExteriorTrivia(String) Method

Definition

Trivia nodes represents parts of the program text that are not parts of the syntactic grammar, such as spaces, newlines, comments, preprocessors directives, and disabled code.

public:
 static Microsoft::CodeAnalysis::SyntaxTrivia DocumentationCommentExteriorTrivia(System::String ^ text);
public static Microsoft.CodeAnalysis.SyntaxTrivia DocumentationCommentExteriorTrivia (string text);
static member DocumentationCommentExteriorTrivia : string -> Microsoft.CodeAnalysis.SyntaxTrivia
Public Shared Function DocumentationCommentExteriorTrivia (text As String) As SyntaxTrivia

Parameters

text
String

The actual text of this token.

Returns

Applies to