StyleBase.ExportTo(Database, StyleConflictResolverType) Method

Exports the current style to another drawing.



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

Syntax

C#

public void ExportTo(
	Database destinationDatabase,
	StyleConflictResolverType conflictResolution
)

VB

Public Sub ExportTo ( 
	destinationDatabase As Database,
	conflictResolution As StyleConflictResolverType
)

C++

public:
void ExportTo(
	Database^ destinationDatabase, 
	StyleConflictResolverType conflictResolution
)

Parameters

destinationDatabase  Database
The destination database.
conflictResolution  StyleConflictResolverType
Specifies how to resolve conflicts if the current style has the same name as a style in the destination database.

Exceptions

ExceptionCondition
InvalidOperationException Thrown when the current style is in the same database as the destination database.

See Also

Reference

StyleBase Class
ExportTo Overload
Autodesk.Civil.DatabaseServices.Styles Namespace