NotesWindowManagerPreview.ShowNoteWithPlacement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
保存笔记放置数据的字节数组。
注解
GetNotePlacement 和 ShowNoteWithPlacement 可以一起使用来存储笔记的放置 (,而应用程序正在退出) ,然后在应用程序) 再次打开时将笔记还原到其以前在屏幕上的位置 (。
适用于
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
保存笔记放置数据的字节数组。
用于显示 noteViewId 参数指定的注释的选项。 例如,显示带焦点的备注。
- 属性
Windows 要求
设备系列 |
Windows Desktop Extension SDK (在 10.0.15063.0 中引入)
|
API contract |
Windows.ApplicationModel.Preview.Notes.PreviewNotesContract (在 v2.0 中引入)
|
注解
GetNotePlacement 和 ShowNoteWithPlacement 可以一起使用来存储笔记的放置 (例如,当应用程序退出) 然后在应用程序再次打开) 时,将笔记还原到其以前在屏幕上的位置 (。
另请参阅
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈