ParamBoolCollectionAdd Method |
Adds a new item to parameters collection.
Namespace: Autodesk.Civil.RuntimeAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic ParamBool Add(
string name,
bool value
)
Public Function Add (
name As String,
value As Boolean
) As ParamBool
public:
ParamBool^ Add(
String^ name,
bool value
)
Parameters
- name String
- Name of the new parameter.
- value Boolean
- Value of the new parameter.
Return Value
ParamBool
ExceptionsException | Condition |
---|
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