次の方法で共有


NotesWindowManagerPreview.ShowNoteWithPlacement メソッド

定義

オーバーロード

ShowNoteWithPlacement(Int32, IBuffer)

メモを表示し、その配置データ (ディメンションと位置) を指定に従って設定します。

ShowNoteWithPlacement(Int32, IBuffer, NotesWindowManagerPreviewShowNoteOptions)

メモを表示し、その配置データ (ディメンションと位置) を指定に従って設定します。

ShowNoteWithPlacement(Int32, IBuffer)

メモを表示し、その配置データ (ディメンションと位置) を指定に従って設定します。

public:
 virtual void ShowNoteWithPlacement(int noteViewId, IBuffer ^ data) = ShowNoteWithPlacement;
void ShowNoteWithPlacement(int const& noteViewId, IBuffer const& data);
public void ShowNoteWithPlacement(int noteViewId, IBuffer data);
function showNoteWithPlacement(noteViewId, data)
Public Sub ShowNoteWithPlacement (noteViewId As Integer, data As IBuffer)

パラメーター

noteViewId
Int32

int

表示するノートの一意識別子。

data
IBuffer

ノート配置データを保持するバイト配列。

注釈

GetNotePlacementShowNoteWithPlacement を一緒に使用すると、ノートの配置を保存し (アプリケーションの終了時など)、ノートを画面上の以前の位置に復元できます (アプリケーションを再度開いたときに)。

適用対象

ShowNoteWithPlacement(Int32, IBuffer, NotesWindowManagerPreviewShowNoteOptions)

メモを表示し、その配置データ (ディメンションと位置) を指定に従って設定します。

public:
 virtual void ShowNoteWithPlacement(int noteViewId, IBuffer ^ data, NotesWindowManagerPreviewShowNoteOptions ^ options) = ShowNoteWithPlacement;
/// [Windows.Foundation.Metadata.Overload("ShowNoteWithPlacementWithOptions")]
void ShowNoteWithPlacement(int const& noteViewId, IBuffer const& data, NotesWindowManagerPreviewShowNoteOptions const& options);
[Windows.Foundation.Metadata.Overload("ShowNoteWithPlacementWithOptions")]
public void ShowNoteWithPlacement(int noteViewId, IBuffer data, NotesWindowManagerPreviewShowNoteOptions options);
function showNoteWithPlacement(noteViewId, data, options)
Public Sub ShowNoteWithPlacement (noteViewId As Integer, data As IBuffer, options As NotesWindowManagerPreviewShowNoteOptions)

パラメーター

noteViewId
Int32

int

表示するノートの一意識別子。

data
IBuffer

ノート配置データを保持するバイト配列。

options
NotesWindowManagerPreviewShowNoteOptions

noteViewId パラメーターで指定されたメモを表示するためのオプション。 たとえば、フォーカスのあるノートを表示します。

属性

Windows の要件

デバイス ファミリ
Windows Desktop Extension SDK (10.0.15063.0 で導入)
API contract
Windows.ApplicationModel.Preview.Notes.PreviewNotesContract (v2.0 で導入)

注釈

GetNotePlacement と ShowNoteWithPlacement を一緒に使用すると、ノートの配置を保存し (アプリケーションの終了時など)、ノートを画面上の以前の位置に復元できます (アプリケーションを再度開いたときに)。

こちらもご覧ください

適用対象