RemoveChild Method (String)

Removes a child label style by name from the current labelstyle node.

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

Syntax

C#

public void RemoveChild(
	string labelStyleName
)

Visual Basic

Public Sub RemoveChild ( _
	labelStyleName As String _
)

Visual C++

public:
void RemoveChild(
	String^ labelStyleName
)

Parameters

labelStyleName
Type: System.String
The name of the style to remove from the current labelstyle node.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the name is invalid or not exist under the current labelstyle.
System.InvalidOperationException Thrown when the child label style still has children.

See Also