Adds a new item to the parameters collection.

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

Syntax

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

Parameters

name
Type: System..::..String
Name of the new parameter.
value
Type: Point3d
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