Esempio n. 1
0
 public static byte[] Serialize(SpSyncGroupAnchor x)
 {
     using (MemoryStream m = new MemoryStream())
     {
         var ser = new XmlSerializer(typeof(SpSyncTableAnchorCollection));
         ser.Serialize(m, x);
         return(m.GetBuffer());
     }
 }
Esempio n. 2
0
 public static byte[] Serialize(SpSyncGroupAnchor x)
 {
     using (MemoryStream m = new MemoryStream())
     {
         var ser = new XmlSerializer(typeof(SpSyncTableAnchorCollection));
         ser.Serialize(m, x);
         return m.GetBuffer();
     }
 }