共用方式為


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 可用來儲存記事的位置, (說,而應用程式正在結束) ,然後在應用程式再次開啟時,將附注還原到其先前在畫面上的位置 () 。

適用於