Removes element ids from the connection. All element ids in an array should belong to the connection. 
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2017 
Syntax
| C# | 
|---|
 | 
| Visual Basic | 
|---|
 | 
| Visual C++ | 
|---|
 | 
Parameters
- elemIds
 - Type: System.Collections.GenericIListElementId
The ElementIdArr containing ids of elements to be removed. 
Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | One or more element ids was not permitted to be removed from the connection. Elements should be members of the connection. | 
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |