Share

ShapeCollection Class

A collection of Roadway Shape objects.

Inheritance Hierarchy

SystemObject
  [T:Autodesk.Civil.CivilWrapper<AeccDbEntity>]
    Autodesk.Civil.DatabaseServicesShapeCollection


Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public sealed class ShapeCollection : [T:Autodesk.Civil.CivilWrapper<AeccDbEntity>], 
	IEnumerable<Shape>

VB

Public NotInheritable Class ShapeCollection
	Inherits [T:Autodesk.Civil.CivilWrapper<AeccDbEntity>]
	Implements IEnumerable(Of Shape)

C++

public ref class ShapeCollection sealed : public [T:Autodesk.Civil.CivilWrapper<AeccDbEntity>], 
	IEnumerable<Shape^>

The ShapeCollection type exposes the following members.

Properties

 NameDescription
Public propertyCount Get the count of shape in the collection
Public propertyItem 

Methods

 NameDescription
Public methodAdd(Link, String) Add a shape.
Public methodAdd(Link, String) Add a shape.
Public methodAdd(Link, Link, Link, Link, String) Add a shape. In most cases, a shape is defined by 4 links.
Public methodAdd(Link, Link, Link, Link, String) Add a shape. In most cases, a shape is defined by 4 links.
Public methodGetEnumerator Implements the method declared in the IEnumerable<T> interface. This method return an enumerator which can be use to enumerate this collection.
Public methodGetObjectEnumerator Implements the method declared in the IEnumerable interface. This method return an enumerator which can be used to enumerate this collection.
Public methodRemove(Int32) Remove the Shape from collection.
Public methodRemove(Shape) Remove the Shape from collection.

See Also

Reference

Was this information helpful?