Beispiel #1
0
    void ExportAudioCDProperties(XmlElement parent, AudioCDProperties props)
    {
        XmlElement elt = AddChild(parent, "AudioCD");

        ChildString(elt, "UPC", props.UPC);
        ChildUInt32(elt, "FirstTrack", props.FirstTrack);
    }
Beispiel #2
0
    void ImportAudioCDProperties(XmlElement parent, AudioCDProperties props)
    {
        XmlElement elt = parent["AudioCD"];

        if (null == elt)
        {
            return;
        }
        try { props.UPC = ChildString(elt, "UPC"); } catch {}
        try { props.FirstTrack = ChildUInt32(elt, "FirstTrack"); } catch {}
    }