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 可以一起使用来存储笔记的放置 (例如,当应用程序退出) 然后在应用程序再次打开) 时,将笔记还原到其以前在屏幕上的位置 (。

另请参阅

适用于