共用方式為


CaseBlockSyntax.AddBeginCases(CaseClauseSyntax[]) 方法

定義

警告

This member is obsolete. Use AddCaseStatementCases instead.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseBlockSyntax ^ AddBeginCases(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::CaseClauseSyntax ^> ^ items);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("This member is obsolete. Use AddCaseStatementCases instead.", true)]
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax AddBeginCases (params Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax[] items);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("This member is obsolete. Use AddCaseStatementCases instead.", true)>]
member this.AddBeginCases : Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseClauseSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CaseBlockSyntax
Public Function AddBeginCases (ParamArray items As CaseClauseSyntax()) As CaseBlockSyntax

參數

傳回

屬性

適用於