/// <remarks/> public void CheckoutFileAsync(long folderId, long fileId, CheckoutFileOptions option, string machine, string localPath, string comment, bool downloadFile, bool allowSync, object userState) { if ((this.CheckoutFileOperationCompleted == null)) { this.CheckoutFileOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCheckoutFileOperationCompleted); } this.InvokeAsync("CheckoutFile", new object[] { folderId, fileId, option, machine, localPath, comment, downloadFile, allowSync}, this.CheckoutFileOperationCompleted, userState); }
/// <remarks/> public System.IAsyncResult BeginCheckoutFile(long folderId, long fileId, CheckoutFileOptions option, string machine, string localPath, string comment, bool downloadFile, bool allowSync, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CheckoutFile", new object[] { folderId, fileId, option, machine, localPath, comment, downloadFile, allowSync}, callback, asyncState); }
/// <remarks/> public void CheckoutFileAsync(long folderId, long fileId, CheckoutFileOptions option, string machine, string localPath, string comment, bool downloadFile, bool allowSync) { this.CheckoutFileAsync(folderId, fileId, option, machine, localPath, comment, downloadFile, allowSync, null); }
public File CheckoutFile(long folderId, long fileId, CheckoutFileOptions option, string machine, string localPath, string comment, bool downloadFile, bool allowSync, [System.Xml.Serialization.XmlElementAttribute(DataType="base64Binary")] out byte[] fileContents) { object[] results = this.Invoke("CheckoutFile", new object[] { folderId, fileId, option, machine, localPath, comment, downloadFile, allowSync}); fileContents = ((byte[])(results[1])); return ((File)(results[0])); }