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