private BluetoothAddress(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { String text = info.GetString("dataString"); BluetoothAddress tmpAddr = BluetoothAddress.Parse(text); this.data = tmpAddr.data; }
void System.Xml.Serialization.IXmlSerializable.ReadXml(System.Xml.XmlReader reader) { String text = reader.ReadElementContentAsString(); BluetoothAddress tmpAddr = BluetoothAddress.Parse(text); this.data = tmpAddr.data; }