public bool EditPhoto(int userId, int photoid, string text)
{
this.Manager.Method("photos.edit");
this.Manager.Params("uid", userId);
this.Manager.Params("pid", photoid);
this.Manager.Params("caption", text);
XmlNode result = this.Manager.Execute().GetResponseXml();
if (this.Manager.MethodSuccessed)
{
XmlUtils.UseNode(result);
return XmlUtils.BoolVal();
}
return false;
}