TradeMe.Api.Client.Client.DeleteListingFromWatchlist C# (CSharp) Method

DeleteListingFromWatchlist() public method

Performs the My Trade Me Method: Save a listing to a member’s watchlist (DELETE).

Will remove the listing with the listingId provided from the members watchlist. Creates a query string using the listingId provided.

REQUIRES AUTHENTICATION.
public DeleteListingFromWatchlist ( string listingId ) : System.Xml.Linq.XDocument
listingId string The id of the listing that will be removed from the watchlist.
return System.Xml.Linq.XDocument
        public XDocument DeleteListingFromWatchlist(string listingId)
        {
            if (_myTradeMe == null)
            {
                _myTradeMe = new MyTradeMeMethods(_connection);
            }

            return _myTradeMe.DeleteListingFromWatchlist(listingId);
        }
Client