Labels with Variables

How do I print labels with variable data using the c# Zebra API TcpConnection or do I need to use the XML / CSV printing when variables are involved?