SyntaxFactory.UndefDirectiveTrivia Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UndefDirectiveTrivia(String, Boolean) |
Creates a new UndefDirectiveTriviaSyntax instance. |
UndefDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, Boolean) |
Creates a new UndefDirectiveTriviaSyntax instance. |
UndefDirectiveTrivia(SyntaxToken, Boolean) |
Creates a new UndefDirectiveTriviaSyntax instance. |
UndefDirectiveTrivia(String, 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
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new UndefDirectiveTriviaSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::UndefDirectiveTriviaSyntax ^ UndefDirectiveTrivia(System::String ^ name, bool isActive);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UndefDirectiveTriviaSyntax UndefDirectiveTrivia (string name, bool isActive);
static member UndefDirectiveTrivia : string * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.UndefDirectiveTriviaSyntax
Public Shared Function UndefDirectiveTrivia (name As String, isActive As Boolean) As UndefDirectiveTriviaSyntax
Parameters
- name
- String
- isActive
- Boolean
Returns
Applies to
UndefDirectiveTrivia(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
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new UndefDirectiveTriviaSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::UndefDirectiveTriviaSyntax ^ UndefDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken undefKeyword, Microsoft::CodeAnalysis::SyntaxToken name, Microsoft::CodeAnalysis::SyntaxToken endOfDirectiveToken, bool isActive);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UndefDirectiveTriviaSyntax UndefDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken undefKeyword, Microsoft.CodeAnalysis.SyntaxToken name, Microsoft.CodeAnalysis.SyntaxToken endOfDirectiveToken, bool isActive);
static member UndefDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.UndefDirectiveTriviaSyntax
Public Shared Function UndefDirectiveTrivia (hashToken As SyntaxToken, undefKeyword As SyntaxToken, name As SyntaxToken, endOfDirectiveToken As SyntaxToken, isActive As Boolean) As UndefDirectiveTriviaSyntax
Parameters
- hashToken
- SyntaxToken
- undefKeyword
- SyntaxToken
- name
- SyntaxToken
- endOfDirectiveToken
- SyntaxToken
- isActive
- Boolean
Returns
Applies to
UndefDirectiveTrivia(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
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new UndefDirectiveTriviaSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::UndefDirectiveTriviaSyntax ^ UndefDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken name, bool isActive);
public static Microsoft.CodeAnalysis.CSharp.Syntax.UndefDirectiveTriviaSyntax UndefDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken name, bool isActive);
static member UndefDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * bool -> Microsoft.CodeAnalysis.CSharp.Syntax.UndefDirectiveTriviaSyntax
Public Shared Function UndefDirectiveTrivia (name As SyntaxToken, isActive As Boolean) As UndefDirectiveTriviaSyntax
Parameters
- name
- SyntaxToken
- isActive
- Boolean
Returns
Applies to
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.