SyntaxFactory.UndefDirectiveTrivia Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Перегрузки
UndefDirectiveTrivia(String, Boolean) |
Создает новый экземпляр UndefDirectiveTriviaSyntax. |
UndefDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, SyntaxToken, Boolean) |
Создает новый экземпляр UndefDirectiveTriviaSyntax. |
UndefDirectiveTrivia(SyntaxToken, Boolean) |
Создает новый экземпляр UndefDirectiveTriviaSyntax. |
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
Создает новый экземпляр UndefDirectiveTriviaSyntax.
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
Параметры
- name
- String
- isActive
- Boolean
Возвращаемое значение
Применяется к
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
Создает новый экземпляр UndefDirectiveTriviaSyntax.
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
Параметры
- hashToken
- SyntaxToken
- undefKeyword
- SyntaxToken
- name
- SyntaxToken
- endOfDirectiveToken
- SyntaxToken
- isActive
- Boolean
Возвращаемое значение
Применяется к
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
Создает новый экземпляр UndefDirectiveTriviaSyntax.
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
Параметры
- name
- SyntaxToken
- isActive
- Boolean