DisconnectFitting(IPipeFitting)

Disconnect a given output fitting.
Namespace: Pipes.PlumbingAssembly: Pipes in (Pipes.dll)

Syntax

C#
public IPipeFitting DisconnectFitting(
	IPipeFitting target
	)

Parameters

Pipe to disconnect

Returns

the disconnected IPipeFitting to connect for output.

Remarks

If the fitting passed in is connected as an output of this TeeSplit, then it is disconnected and the reference returned.

If the fitting passed in is not connected as an output of this TeeSplit, then nullis returned.