add param descriptions to Worksheet.copy method

This commit is contained in:
Ricky Kirkham
2018-06-02 13:17:10 -07:00
parent 126931b38a
commit cfbdc0c88d
+4 -8
View File
@@ -9898,15 +9898,11 @@ declare namespace Excel {
* Copy a worksheet and place it at the specified position. Return the copied worksheet.
*
* [Api set: ExcelApi 1.7]
*
* @param positionType Specifies where to put the copy relative to the worksheet specified in relativeTo param. Can be Excel.WorksheetPositionType or string equivalent. Must not be Excel.WorksheetPositionType.none or "None".
* @param relativeTo Specifies the worksheet that is the basis for intepreting the positionType param. If not specified, the worksheet on which the copy() is called is assumed.
*/
copy(positionType?: Excel.WorksheetPositionType, relativeTo?: Excel.Worksheet): Excel.Worksheet;
/**
*
* Copy a worksheet and place it at the specified position. Return the copied worksheet.
*
* [Api set: ExcelApi 1.7]
*/
copy(positionType?: "None" | "Before" | "After" | "Beginning" | "End", relativeTo?: Excel.Worksheet): Excel.Worksheet;
copy(positionType?: Excel.WorksheetPositionType | string, relativeTo?: Excel.Worksheet): Excel.Worksheet;
/**
*
* Deletes the worksheet from the workbook.