public int AddOffice(ComOffice objComOffice, int entryMode, int officeId) { object[] results = this.Invoke("AddOffice", new object[] { objComOffice, entryMode, officeId }); return((int)(results[0])); }
/// <remarks/> public void AddOfficeAsync(ComOffice objComOffice, int entryMode, int officeId, object userState) { if ((this.AddOfficeOperationCompleted == null)) { this.AddOfficeOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddOfficeOperationCompleted); } this.InvokeAsync("AddOffice", new object[] { objComOffice, entryMode, officeId }, this.AddOfficeOperationCompleted, userState); }
/// <remarks/> public void AddOfficeAsync(ComOffice objComOffice, int entryMode, int officeId) { this.AddOfficeAsync(objComOffice, entryMode, officeId, null); }