SyntaxFactory.EnableWarningDirectiveTrivia 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
EnableWarningDirectiveTrivia(SeparatedSyntaxList<IdentifierNameSyntax>) |
表示源中显示的#Enable警告预处理指令。 |
EnableWarningDirectiveTrivia(IdentifierNameSyntax[]) |
表示源中显示的#Enable警告预处理指令。 |
EnableWarningDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, SeparatedSyntaxList<IdentifierNameSyntax>) |
表示源中显示的#Enable警告预处理指令。 |
EnableWarningDirectiveTrivia(SeparatedSyntaxList<IdentifierNameSyntax>)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
表示源中显示的#Enable警告预处理指令。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::EnableWarningDirectiveTriviaSyntax ^ EnableWarningDirectiveTrivia(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^> errorCodes);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax EnableWarningDirectiveTrivia (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax> errorCodes);
static member EnableWarningDirectiveTrivia : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax
Public Shared Function EnableWarningDirectiveTrivia (errorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax)) As EnableWarningDirectiveTriviaSyntax
参数
- errorCodes
- SeparatedSyntaxList<IdentifierNameSyntax>
返回
适用于
EnableWarningDirectiveTrivia(IdentifierNameSyntax[])
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
表示源中显示的#Enable警告预处理指令。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::EnableWarningDirectiveTriviaSyntax ^ EnableWarningDirectiveTrivia(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^> ^ errorCodes);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax EnableWarningDirectiveTrivia (params Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax[] errorCodes);
static member EnableWarningDirectiveTrivia : Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax
Public Shared Function EnableWarningDirectiveTrivia (ParamArray errorCodes As IdentifierNameSyntax()) As EnableWarningDirectiveTriviaSyntax
参数
- errorCodes
- IdentifierNameSyntax[]
返回
适用于
EnableWarningDirectiveTrivia(SyntaxToken, SyntaxToken, SyntaxToken, SeparatedSyntaxList<IdentifierNameSyntax>)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
表示源中显示的#Enable警告预处理指令。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::EnableWarningDirectiveTriviaSyntax ^ EnableWarningDirectiveTrivia(Microsoft::CodeAnalysis::SyntaxToken hashToken, Microsoft::CodeAnalysis::SyntaxToken enableKeyword, Microsoft::CodeAnalysis::SyntaxToken warningKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^> errorCodes);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax EnableWarningDirectiveTrivia (Microsoft.CodeAnalysis.SyntaxToken hashToken, Microsoft.CodeAnalysis.SyntaxToken enableKeyword, Microsoft.CodeAnalysis.SyntaxToken warningKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax> errorCodes);
static member EnableWarningDirectiveTrivia : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnableWarningDirectiveTriviaSyntax
Public Shared Function EnableWarningDirectiveTrivia (hashToken As SyntaxToken, enableKeyword As SyntaxToken, warningKeyword As SyntaxToken, errorCodes As SeparatedSyntaxList(Of IdentifierNameSyntax)) As EnableWarningDirectiveTriviaSyntax
参数
- hashToken
- SyntaxToken
预处理器指令中的“#”标记。
- enableKeyword
- SyntaxToken
- warningKeyword
- SyntaxToken
- errorCodes
- SeparatedSyntaxList<IdentifierNameSyntax>