public void RemovePLCAddress( PlanningSegment.PLCAddress pPLCAddress )
public: void RemovePLCAddress( PlanningSegment.PLCAddress^ pPLCAddress )
Parameters
- pPLCAddress
- PLCAddress which will be removed. Can't be
null
.
null
.
public void RemovePLCAddress( PlanningSegment.PLCAddress pPLCAddress )
public: void RemovePLCAddress( PlanningSegment.PLCAddress^ pPLCAddress )
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);