Method AddDeviceName AddDeviceName(String) Add a device number as a device name attribute. Declaration public void AddDeviceName(string deviceName) Parameters Type Name Description System.String deviceName The device number.