public void SaveActivityMetadata() { IActivityMetadata metadata = new ActivityMetadata(); metadata.Clear(); metadata.Id = "11"; metadata.Filename = "testActivity.clipflair"; using (XmlWriter writer = Helpers.CreateXmlWriter(@"testActivityMetadata.cxml")) metadata.Save(writer); }