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

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

public ReorderAlbums ( int albumId, int before, int after, int ownerId ) : bool
albumId int
before int
after int
ownerId int
Результат bool
        public bool ReorderAlbums(int albumId, int before, int after, int? ownerId)
        {
            this.Manager.Method("photos.reorderAlbums");
            this.Manager.Params("aid", albumId);
            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;
        }