ApiCore.Polls.PollsFactory.DeleteVote C# (CSharp) Метод

DeleteVote() публичный Метод

public DeleteVote ( int ownerId, int pollId, int answeId ) : bool
ownerId int
pollId int
answeId int
Результат bool
        public bool DeleteVote(int? ownerId, int pollId, int answeId)
        {
            this.Manager.Method("polls.deleteVote");
            this.Manager.Params("poll_id", pollId);
            this.Manager.Params("answer_id", answeId);
            if (ownerId != null)
            {
                this.Manager.Params("owner_id", ownerId);
            }

            XmlNode result = this.Manager.Execute().GetResponseXml();
            if (this.Manager.MethodSuccessed)
            {
                XmlUtils.UseNode(result);
                return XmlUtils.BoolVal();
            }

            return false;
        }