SyntaxNode.GetLastToken(Boolean, Boolean, Boolean, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取此节点根目录树的最后一个标记。 跳过零宽度标记。
public Microsoft.CodeAnalysis.SyntaxToken GetLastToken (bool includeZeroWidth = false, bool includeSkipped = false, bool includeDirectives = false, bool includeDocumentationComments = false);
member this.GetLastToken : bool * bool * bool * bool -> Microsoft.CodeAnalysis.SyntaxToken
Public Function GetLastToken (Optional includeZeroWidth As Boolean = false, Optional includeSkipped As Boolean = false, Optional includeDirectives As Boolean = false, Optional includeDocumentationComments As Boolean = false) As SyntaxToken
参数
- includeZeroWidth
- Boolean
- includeSkipped
- Boolean
- includeDirectives
- Boolean
- includeDocumentationComments
- Boolean
返回
最后一个标记,或者 default(SyntaxToken)
它不存在。