SwitchExpression.Cases 属性

定义

获取开关的 SwitchCase 对象的集合。

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Linq::Expressions::SwitchCase ^> ^ Cases { System::Collections::ObjectModel::ReadOnlyCollection<System::Linq::Expressions::SwitchCase ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.SwitchCase> Cases { get; }
member this.Cases : System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.SwitchCase>
Public ReadOnly Property Cases As ReadOnlyCollection(Of SwitchCase)

属性值

SwitchCase 对象的集合。

适用于