共用方式為


Shape.Container 屬性

取得包含 ComponentIContainer

命名空間:  Microsoft.VisualBasic.PowerPacks
組件:  Microsoft.VisualBasic.PowerPacks.Vs (在 Microsoft.VisualBasic.PowerPacks.Vs.dll 中)

語法

'宣告
<BrowsableAttribute(False)> _
Public ReadOnly Property Container As Control
[BrowsableAttribute(false)]
public Control Container { get; }
[BrowsableAttribute(false)]
public:
property Control^ Container {
    Control^ get ();
}
[<BrowsableAttribute(false)>]
member Container : Control with get
function get Container () : Control

屬性值

類型:Control
Null 參考 (Nothing中Visual Basic)。

備註

這個屬性繼承自Component而不是以供Shape或繼承自任何類別Shape

.NET Framework 安全性

請參閱

參考

Shape 類別

Microsoft.VisualBasic.PowerPacks 命名空間

其他資源

如何:使用 LineShape 控制項繪製線條 (Visual Studio)

如何:使用 OvalShape 和 RectangleShape 控制項繪製圖案 (Visual Studio)

Line 和 Shape 控制項簡介 (Visual Studio)