public void RemovePLCAddress( PlanningSegment.PLCAddress pPLCAddress )
public: void RemovePLCAddress( PlanningSegment.PLCAddress^ pPLCAddress )
Parameters
| Parameter Name | Description |
|---|---|
| pPLCAddress | PLCAddress which will be removed. Can't be null. |
null.
public void RemovePLCAddress( PlanningSegment.PLCAddress pPLCAddress )
public: void RemovePLCAddress( PlanningSegment.PLCAddress^ pPLCAddress )
| Parameter Name | Description |
|---|---|
| pPLCAddress | PLCAddress which will be removed. Can't be null. |
| Exception | Description |
|---|---|
| System.ArgumentNullException | Thrown if parameter is null. |
| System.InvalidOperationException | Thrown if PLCAddress is appended from another parent. |
//get object which will be removed PlanningSegment.PLCAddress oAddress = oPCTLoop.PLCAddresses[0]; //remove object from planning object oPCTLoop.RemovePLCAddress(oAddress);