共用方式為


PragmaWarningDirectiveTriviaSyntax.AddErrorCodes(ExpressionSyntax[]) 方法

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::PragmaWarningDirectiveTriviaSyntax ^ AddErrorCodes(... cli::array <Microsoft::CodeAnalysis::CSharp::Syntax::ExpressionSyntax ^> ^ items);
public Microsoft.CodeAnalysis.CSharp.Syntax.PragmaWarningDirectiveTriviaSyntax AddErrorCodes (params Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax[] items);
member this.AddErrorCodes : Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax[] -> Microsoft.CodeAnalysis.CSharp.Syntax.PragmaWarningDirectiveTriviaSyntax
Public Function AddErrorCodes (ParamArray items As ExpressionSyntax()) As PragmaWarningDirectiveTriviaSyntax

參數

傳回

適用於