次の方法で共有


SwitchSectionSyntax.WithLabels(SyntaxList<SwitchLabelSyntax>) メソッド

定義

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::SwitchSectionSyntax ^ WithLabels(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::SwitchLabelSyntax ^> labels);
public Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax WithLabels (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchLabelSyntax> labels);
member this.WithLabels : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.SwitchLabelSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.SwitchSectionSyntax
Public Function WithLabels (labels As SyntaxList(Of SwitchLabelSyntax)) As SwitchSectionSyntax

パラメーター

戻り値

適用対象