ShapeCollection Constructor
Initializes a new instance of the ShapeCollection class.
Namespace: Microsoft.VisualBasic.PowerPacks
Assembly: Microsoft.VisualBasic.PowerPacks.Vs (in Microsoft.VisualBasic.PowerPacks.Vs.dll)
Syntax
'Declaration
Public Sub New ( _
owner As ShapeContainer _
)
public ShapeCollection(
ShapeContainer owner
)
public:
ShapeCollection(
ShapeContainer^ owner
)
new :
owner:ShapeContainer -> ShapeCollection
public function ShapeCollection(
owner : ShapeContainer
)
Parameters
owner
Type: Microsoft.VisualBasic.PowerPacks.ShapeContainerThe ShapeContainer that contains the collection.
Remarks
A ShapeCollection is automatically created for each ShapeContainer.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualBasic.PowerPacks Namespace
Other Resources
Introduction to the Line and Shape Controls (Visual Studio)
How to: Draw Lines with the LineShape Control (Visual Studio)
How to: Draw Shapes with the OvalShape and RectangleShape Controls (Visual Studio)