Add Method

Adds a new item to parameters collection.

Namespace: Autodesk.Civil.Runtime
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0

Syntax

C#

public ParamString Add(
	string name,
	string value
)

Visual Basic

Public Function Add ( _
	name As String, _
	value As String _
) As ParamString

Visual C++

public:
ParamString^ Add(
	String^ name, 
	String^ value
)

Parameters

name
Type: System.String
Name of the new parameter.
value
Type: System.String
Value of the new parameter.

Remarks

If the input name exists in the collection, this function will not add a new item. Instead it will return the existing item and change its value.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when name is an empty string.

See Also