共用方式為


SyntaxFactory.NullableDirectiveTrivia 方法

定義

多載

NullableDirectiveTrivia(SyntaxToken, Boolean)

建立新的 NullableDirectiveTriviaSyntax 實例。

NullableDirectiveTrivia(SyntaxToken, SyntaxToken, Boolean)

建立新的 NullableDirectiveTriviaSyntax 實例。

NullableDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, Boolean)

建立新的 NullableDirectiveTriviaSyntax 實例。

NullableDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, Boolean)

建立新的 NullableDirectiveTriviaSyntax 實例。

NullableDirectiveTrivia(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
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
Source:
Syntax.xml.Main.Generated.cs

建立新的 NullableDirectiveTriviaSyntax 實例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax NullableDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken settingToken, bool isActive);
static member NullableDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax
Public Shared Function NullableDirectiveTrivia (settingToken As SyntaxToken, isActive As Boolean) As NullableDirectiveTriviaSyntax

參數

settingToken
SyntaxToken
isActive
Boolean

傳回

適用於

NullableDirectiveTrivia(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
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

建立新的 NullableDirectiveTriviaSyntax 實例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax NullableDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken settingToken, Microsoft.CodeAnalysis.SyntaxToken targetToken, bool isActive);
static member NullableDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax
Public Shared Function NullableDirectiveTrivia (settingToken As SyntaxToken, targetToken As SyntaxToken, isActive As Boolean) As NullableDirectiveTriviaSyntax

參數

settingToken
SyntaxToken
targetToken
SyntaxToken
isActive
Boolean

傳回

適用於

NullableDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, Boolean)

Source:
Syntax.xml.Main.Generated.cs
Source:
Syntax.xml.Main.Generated.cs

建立新的 NullableDirectiveTriviaSyntax 實例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax NullableDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken nullableKeyword, Microsoft.CodeAnalysis.SyntaxToken settingToken, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive);
static member NullableDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax
Public Shared Function NullableDirectiveTrivia (hashToken As SyntaxToken, nullableKeyword As SyntaxToken, settingToken As SyntaxToken, endOfDirectiveToken As SyntaxToken, isActive As Boolean) As NullableDirectiveTriviaSyntax

參數

hashToken
SyntaxToken
nullableKeyword
SyntaxToken
settingToken
SyntaxToken
endOfDirectiveToken
SyntaxToken
isActive
Boolean

傳回

適用於

NullableDirectiveTrivia(SyntaxToken, SyntaxToken, 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
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

建立新的 NullableDirectiveTriviaSyntax 實例。

public static Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax NullableDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken nullableKeyword, Microsoft.CodeAnalysis.SyntaxToken settingToken, Microsoft.CodeAnalysis.SyntaxToken targetToken, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive);
static member NullableDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.NullableDirectiveTriviaSyntax
Public Shared Function NullableDirectiveTrivia (hashToken As SyntaxToken, nullableKeyword As SyntaxToken, settingToken As SyntaxToken, targetToken As SyntaxToken, endOfDirectiveToken As SyntaxToken, isActive As Boolean) As NullableDirectiveTriviaSyntax

參數

hashToken
SyntaxToken
nullableKeyword
SyntaxToken
settingToken
SyntaxToken
targetToken
SyntaxToken
endOfDirectiveToken
SyntaxToken
isActive
Boolean

傳回

適用於