If you configure a pin as an input, that pin will not output anything. The output buffer will be disabled, thats what TRIS does for you.

If you wanted PortB.0 configured as an output but not be affected, you could do .....

PortA.0 = OutputValue.0
OutputValue.0 = PortB.0
PortB = OutputValue

/Ingvar