Switch.DefaultValue 屬性

定義

取得建構函式中指派的預設值。

C#
public string DefaultValue { get; }

屬性值

適用於

產品 版本
.NET 7, 8, 9