-
Notifications
You must be signed in to change notification settings - Fork 63
/
office.gotobyidoptions.yml
56 lines (50 loc) · 2.18 KB
/
office.gotobyidoptions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
### YamlMime:TSType
name: Office.GoToByIdOptions
uid: 'office!Office.GoToByIdOptions:interface'
package: office!
fullName: Office.GoToByIdOptions
summary: Provides options for whether to select the location that is navigated to.
remarks: >-
The behavior caused by the [options.selectionMode](xref:office!Office.SelectionMode:enum) option varies by Office
application:
In Excel: `Office.SelectionMode.Selected` selects all content in the binding, or named item.
`Office.SelectionMode.None` for text bindings, selects the cell; for matrix bindings, table bindings, and named items,
selects the first data cell (not first cell in header row for tables).
In PowerPoint: `Office.SelectionMode.Selected` selects the slide title or first textbox on the slide.
`Office.SelectionMode.None` doesn't select anything.
In Word: `Office.SelectionMode.Selected` selects all content in the binding. `Office.SelectionMode.None` for text
bindings, moves the cursor to the beginning of the text; for matrix bindings and table bindings, selects the first
data cell (not first cell in header row for tables).
isPreview: false
isDeprecated: false
type: interface
properties:
- name: asyncContext
uid: 'office!Office.GoToByIdOptions#asyncContext:member'
package: office!
fullName: asyncContext
summary: >-
A user-defined item of any type that is returned, unchanged, in the asyncContext property of the AsyncResult
object that is passed to a callback.
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'asyncContext?: any'
return:
type: any
- name: selectionMode
uid: 'office!Office.GoToByIdOptions#selectionMode:member'
package: office!
fullName: selectionMode
summary: >-
Specifies whether the location specified by the `id` parameter is selected (highlighted). Use
[Office.SelectionMode](xref:office!Office.SelectionMode:enum) or string equivalent. See the Remarks for more
information.
remarks: ''
isPreview: false
isDeprecated: false
syntax:
content: 'selectionMode?: Office.SelectionMode | string'
return:
type: '<xref uid="office!Office.SelectionMode:enum" /> | string'