TryAdd Method (String)

Adds a new code to the collection.

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

Syntax

C#

public bool TryAdd(
	string code
)

Visual Basic

Public Function TryAdd ( _
	code As String _
) As Boolean

Visual C++

public:
bool TryAdd(
	String^ code
)

Parameters

code
Type: System.String

Return Value

False when the code is null, empty or duplicate.

See Also