ShapeField.DefaultVisibility 屬性
取得由 shape 功能變數並驗證它是否預設會出現,或設定預設的可視性由 shape 功能變數。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
語法
'宣告
Public Property DefaultVisibility As Boolean
public bool DefaultVisibility { get; set; }
屬性值
型別:System.Boolean
true 如果由 shape 功能變數預設會出現。 否則, false。
備註
除非覆寫 GetVisible,ShapeField 的 GetVisible 方法會傳回這個值。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。