共用方式為


ISwitchExpressionArmOperation.Locals 屬性

定義

在參數 arm 內宣告的區域變數 (例如模式區域變數和在防護中宣告的區域變數) 範圍設定為 arm。

public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ILocalSymbol> Locals { get; }
member this.Locals : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ILocalSymbol>
Public ReadOnly Property Locals As ImmutableArray(Of ILocalSymbol)

屬性值

適用於