Exports a collection of style ids to another drawing.

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

Syntax

C#
public static void ExportTo(
	ObjectIdCollection styleIds,
	Database destinationDatabase,
	StyleConflictResolverType conflictResolution
)
Visual Basic
Public Shared Sub ExportTo ( _
	styleIds As ObjectIdCollection, _
	destinationDatabase As Database, _
	conflictResolution As StyleConflictResolverType _
)
Visual C++
public:
static void ExportTo(
	ObjectIdCollection^ styleIds, 
	Database^ destinationDatabase, 
	StyleConflictResolverType conflictResolution
)

Parameters

styleIds
Type: ObjectIdCollection
The object id collection of styles need to export.
destinationDatabase
Type: Database
The destination database.
conflictResolution
Type: Autodesk.Civil..::..StyleConflictResolverType
Specifies how to resolve conflicts if any exported styles have the same name as a style in the destination database.

Exceptions

ExceptionCondition
System..::..InvalidOperationException Thrown when any style ObjectId in the collection is in the same database as the destination database.

See Also