SyntaxFactory.LineSpanDirectiveTrivia 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
LineSpanDirectiveTrivia(SyntaxToken, SyntaxToken, LineDirectivePositionSyntax, SyntaxToken, LineDirectivePositionSyntax, SyntaxToken, SyntaxToken, SyntaxToken, Boolean) |
创建新的 LineSpanDirectiveTriviaSyntax 实例。 |
LineSpanDirectiveTrivia(LineDirectivePositionSyntax, LineDirectivePositionSyntax, SyntaxToken, Boolean) |
创建新的 LineSpanDirectiveTriviaSyntax 实例。 |
LineSpanDirectiveTrivia(LineDirectivePositionSyntax, LineDirectivePositionSyntax, SyntaxToken, SyntaxToken, Boolean) |
创建新的 LineSpanDirectiveTriviaSyntax 实例。 |
LineSpanDirectiveTrivia(SyntaxToken, SyntaxToken, LineDirectivePositionSyntax, SyntaxToken, LineDirectivePositionSyntax, SyntaxToken, SyntaxToken, SyntaxToken, Boolean)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
创建新的 LineSpanDirectiveTriviaSyntax 实例。
public static Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax LineSpanDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken lineKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax start, Microsoft.CodeAnalysis.SyntaxToken minusToken, Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax end, Microsoft.CodeAnalysis.SyntaxToken characterOffset, Microsoft.CodeAnalysis.SyntaxToken file, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive);
static member LineSpanDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax
Public Shared Function LineSpanDirectiveTrivia (hashToken As SyntaxToken, lineKeyword As SyntaxToken, start As LineDirectivePositionSyntax, minusToken As SyntaxToken, end As LineDirectivePositionSyntax, characterOffset As SyntaxToken, file As SyntaxToken, endOfDirectiveToken As SyntaxToken, isActive As Boolean) As LineSpanDirectiveTriviaSyntax
参数
- hashToken
- SyntaxToken
- lineKeyword
- SyntaxToken
- minusToken
- SyntaxToken
- characterOffset
- SyntaxToken
- file
- SyntaxToken
- endOfDirectiveToken
- SyntaxToken
- isActive
- Boolean
返回
适用于
LineSpanDirectiveTrivia(LineDirectivePositionSyntax, LineDirectivePositionSyntax, SyntaxToken, Boolean)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
创建新的 LineSpanDirectiveTriviaSyntax 实例。
public static Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax LineSpanDirectiveTrivia (Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax start, Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax end, Microsoft.CodeAnalysis.SyntaxToken file, bool isActive);
static member LineSpanDirectiveTrivia : Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax
Public Shared Function LineSpanDirectiveTrivia (start As LineDirectivePositionSyntax, end As LineDirectivePositionSyntax, file As SyntaxToken, isActive As Boolean) As LineSpanDirectiveTriviaSyntax
参数
- file
- SyntaxToken
- isActive
- Boolean
返回
适用于
LineSpanDirectiveTrivia(LineDirectivePositionSyntax, LineDirectivePositionSyntax, SyntaxToken, SyntaxToken, Boolean)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
创建新的 LineSpanDirectiveTriviaSyntax 实例。
public static Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax LineSpanDirectiveTrivia (Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax start, Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax end, Microsoft.CodeAnalysis.SyntaxToken characterOffset, Microsoft.CodeAnalysis.SyntaxToken file, bool isActive);
static member LineSpanDirectiveTrivia : Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.LineDirectivePositionSyntax * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.LineSpanDirectiveTriviaSyntax
Public Shared Function LineSpanDirectiveTrivia (start As LineDirectivePositionSyntax, end As LineDirectivePositionSyntax, characterOffset As SyntaxToken, file As SyntaxToken, isActive As Boolean) As LineSpanDirectiveTriviaSyntax
参数
- characterOffset
- SyntaxToken
- file
- SyntaxToken
- isActive
- Boolean