SyntaxTokenList.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Create(SyntaxToken) |
创建新的令牌列表 |
Create(ReadOnlySpan<SyntaxToken>) |
Create(SyntaxToken)
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
- Source:
- SyntaxTokenList.cs
创建新的令牌列表
public:
static Microsoft::CodeAnalysis::SyntaxTokenList Create(Microsoft::CodeAnalysis::SyntaxToken token);
public static Microsoft.CodeAnalysis.SyntaxTokenList Create (Microsoft.CodeAnalysis.SyntaxToken token);
static member Create : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.SyntaxTokenList
Public Shared Function Create (token As SyntaxToken) As SyntaxTokenList
参数
- token
- SyntaxToken
返回令牌列表的元素
返回
适用于
Create(ReadOnlySpan<SyntaxToken>)
- Source:
- SyntaxTokenList.cs
public static Microsoft.CodeAnalysis.SyntaxTokenList Create (ReadOnlySpan<Microsoft.CodeAnalysis.SyntaxToken> tokens);
static member Create : ReadOnlySpan<Microsoft.CodeAnalysis.SyntaxToken> -> Microsoft.CodeAnalysis.SyntaxTokenList
Public Shared Function Create (tokens As ReadOnlySpan(Of SyntaxToken)) As SyntaxTokenList
参数
- tokens
- ReadOnlySpan<SyntaxToken>