Copy the current style and add it to the parent node as a sibling.

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

Syntax

C#
public virtual ObjectId CopyAsSibling(
	string styleName
)
Visual Basic
Public Overridable Function CopyAsSibling ( _
	styleName As String _
) As ObjectId
Visual C++
public:
virtual ObjectId CopyAsSibling(
	String^ styleName
)

Parameters

styleName
Type: System..::..String
The name of the style.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the name is duplicate.

See Also