Share

CodeCollection Class

The Corridor code collection class. The wrapped object could be AeccDbRoadwayState or AeccDbSubassembly.

Inheritance Hierarchy

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


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

Syntax

C#

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

VB

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

C++

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

The CodeCollection type exposes the following members.

Properties

 NameDescription
Public propertyCount Gets the count of codes in the collection
Public propertyItem 

Methods

 NameDescription
Public methodAdd(String) Adds a new code to the collection.
Public methodAdd(String) Adds new codes to the collection.
Public methodGetEnumerator Implement the method declare in IEnumerable<T> interface. This method return an enumerator which can be use to enumerate this collection.
Public methodGetObjectEnumerator Implement the method declare in IEnumerable interface. This method return an enumerator which can be use to enumerate this collection.
Public methodRemove Remove the code from collection.
Public methodTryAdd(String) Adds a new code to the collection.
Public methodTryAdd(String) Adds new codes to the collection.

See Also

Reference

Was this information helpful?