实验:使用Word2013发布到博客园

 

如帖:http://www.cnblogs.com/liuxianan/archive/2013/04/13/3018732.html

http://www.cnblogs.com/default/archive/2012/06/05/2537225.html

 

样例代码:

  1. [Test]
  2. public void GetItemTest()
  3. {
  4.     var token = ""; //TO Fill
  5.     var context = ApiContextFactory.GetApiContext(token);
  6.     string itemID = "251911744373";
  7.     var getItemCall = new GetItemCall(context);
  8.  
  9.     var result = getItemCall.GetItem(itemID);
  10.     Console.WriteLine(result.SKU);
  11.     Console.WriteLine(result.Quantity);
  12.     Console.WriteLine(result.StartPrice.Value);
  13.     Console.WriteLine(result.StartPrice.currencyID);
  14.     Console.WriteLine(result.Title);
  15.     Console.WriteLine(result.Location);
  16.     Console.WriteLine(result.Seller.UserID);
  17.     Console.WriteLine(result.Description);
  18.     Console.WriteLine(result);
  19. }

 

感谢:六仙庵,明年我18。

2015/5/22

你可能感兴趣的:(word)