NotesWindowManagerPreview.GetNotePlacement(Int32) 方法

定义

获取给定笔记的视图位置,该注释将存储在程序内存或磁盘存储中,然后由应用程序在以后还原。

public:
 virtual IBuffer ^ GetNotePlacement(int noteViewId) = GetNotePlacement;
IBuffer GetNotePlacement(int const& noteViewId);
public IBuffer GetNotePlacement(int noteViewId);
function getNotePlacement(noteViewId)
Public Function GetNotePlacement (noteViewId As Integer) As IBuffer

参数

noteViewId
Int32

int

要检索其位置的笔记的唯一标识符。

返回

保存笔记放置数据的字节数组。

注解

GetNotePlacement 和 ShowNoteWithPlacement 可以一起使用, (应用程序退出时存储笔记的位置) 然后在应用程序再次打开) 时将笔记还原到其之前在屏幕上的位置 (。

适用于