Adds a new item to parameters collection.
Namespace: Autodesk.Civil.RuntimeAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public ParamDouble Add( string name, double value )
Visual Basic
Public Function Add ( _ name As String, _ value As Double _ ) As ParamDouble
Visual C++
public: ParamDouble^ Add( String^ name, double value )
Parameters
- name
- Type: System.String
Name of the new parameter.
- value
- Type: System.Double
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
Exception | Condition |
---|---|
System.ArgumentException | Thrown when name is a empty string. |