IElement.CreateInstanceParameterAsync method
This method is used to create an instance parameter.
public Task<IParameter> CreateInstanceParameterAsync(IParameter parameterDefinition)
| parameter | description |
|---|---|
| parameterDefinition | The definition of the parameter to create. |
Return Value
The created instance parameter.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | Thrown when parameterDefinition is null. |
| ArgumentException | Thrown when a custom parameter with the same name already exists on the element. |
See Also
- interface IParameter
- interface IElement
- namespace Autodesk.DataExchange.Interface