Swaps the order for two operations in the current collection.
public void Swap( SurfaceOperation firstOperation, SurfaceOperation secondOperation )
Public Sub Swap ( firstOperation As SurfaceOperation, secondOperation As SurfaceOperation )
public: void Swap( SurfaceOperation^ firstOperation, SurfaceOperation^ secondOperation )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the firstOperation or secondOperation is not included in the current collection. |