Share

ParamLongCollection.Add Method

Adds a new item to parameters collection.



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

Syntax

C#

public ParamLong Add(
	string name,
	int value
)

VB

Public Function Add ( 
	name As String,
	value As Integer
) As ParamLong

C++

public:
ParamLong^ Add(
	String^ name, 
	int value
)

Parameters

name  String
Name of the new parameter.
value  Int32
Value of the new parameter.

Return Value

ParamLong

Exceptions

ExceptionCondition
ArgumentException Thrown when name is a empty string.

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.

See Also

Reference

Was this information helpful?