ApiCore.Photos.PhotosFactory.ReorderPhotos C# (CSharp) Метод

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

public ReorderPhotos ( int photoId, int before, int after, int ownerId ) : bool
photoId int
before int
after int
ownerId int
Результат bool
        public bool ReorderPhotos(int photoId, int before, int after, int? ownerId)
        {
            this.Manager.Method("photos.reorderAlbums");
            this.Manager.Params("pid", photoId);
            this.Manager.Params("before", before);
            this.Manager.Params("after", after);
            if (ownerId != null)
            {
                this.Manager.Params("oid", ownerId);
            }
            XmlNode result = this.Manager.Execute().GetResponseXml();
            if (this.Manager.MethodSuccessed)
            {
                XmlUtils.UseNode(result);
                return XmlUtils.BoolVal();
            }
            return false;
        }