Office.AddBindingFromPromptOptions interface

プロンプトを構成し、作成されるバインドを識別するためのオプションを提供します。

プロパティ

asyncContext

コールバックに渡される AsyncResult オブジェクトの asyncContext プロパティで、変更せずに返される任意の型のユーザー定義項目。

id

バインドの一意の ID。 指定されていない場合は自動生成されます。

promptText

Specifies the string to display in the prompt UI that tells the user what to select. Limited to 200 characters. 引数 promptText が渡されない場合は、"選択してください" と表示されます。

sampleData

Specifies a table of sample data displayed in the prompt UI as an example of the kinds of fields (columns) that can be bound by your add-in. TableData オブジェクトで提供されるヘッダーは、フィールド選択 UI で使用されるラベルを指定します。

: このパラメーターは、Access 用アドインでのみ使用されます。 It is ignored if provided when calling the method in an add-in for Excel.

プロパティの詳細

asyncContext

コールバックに渡される AsyncResult オブジェクトの asyncContext プロパティで、変更せずに返される任意の型のユーザー定義項目。

asyncContext?: any

プロパティ値

any

id

バインドの一意の ID。 指定されていない場合は自動生成されます。

id?: string

プロパティ値

string

promptText

Specifies the string to display in the prompt UI that tells the user what to select. Limited to 200 characters. 引数 promptText が渡されない場合は、"選択してください" と表示されます。

promptText?: string

プロパティ値

string

sampleData

警告

この API は非推奨になりました。

Microsoft Access is no longer supported.

Specifies a table of sample data displayed in the prompt UI as an example of the kinds of fields (columns) that can be bound by your add-in. TableData オブジェクトで提供されるヘッダーは、フィールド選択 UI で使用されるラベルを指定します。

: このパラメーターは、Access 用アドインでのみ使用されます。 It is ignored if provided when calling the method in an add-in for Excel.

sampleData?: Office.TableData

プロパティ値