ParamStringCollectionAdd Method |
Adds a new item to parameters collection.
Namespace: Autodesk.Civil.RuntimeAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.7.0.1190
Syntaxpublic ParamString Add(
string name,
string value
)
Public Function Add (
name As String,
value As String
) As ParamString
public:
ParamString^ Add(
String^ name,
String^ value
)
Parameters
- name String
- Name of the new parameter.
- value String
- Value of the new parameter.
Return Value
ParamString
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when name is an empty string.
|
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.
See Also