ApiCore.Wall.WallFactory.RestoreComment C# (CSharp) Метод

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

public RestoreComment ( int ownerId, int commentId ) : bool
ownerId int
commentId int
Результат bool
        public bool RestoreComment(int? ownerId, int commentId)
        {
            this.Manager.Method("wall.restoreComment");
            if (ownerId != null)
            {
                this.Manager.Params("owner_id", ownerId);//((type == MessageType.Outgoing) ? "1" : "0"));;
            }
            this.Manager.Params("cid", commentId);
            string resp = this.Manager.Execute().GetResponseString();
            if (this.Manager.MethodSuccessed)
            {
                XmlDocument x = this.Manager.GetXmlDocument(resp);
                XmlUtils.UseNode(x);
                return XmlUtils.Bool("response");
            }
            return false;
        }