Adds a new item to parameters collection.

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

Syntax

C#
public ParamBool Add(
	string name,
	bool value
)
Visual Basic
Public Function Add ( _
	name As String, _
	value As Boolean _
) As ParamBool
Visual C++
public:
ParamBool^ Add(
	String^ name, 
	bool value
)

Parameters

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

Remarks

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

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when name is a empty string.

See Also