Beispiel #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());
     }
 }
Beispiel #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();
     }
 }