NotesWindowManagerPreview.ShowNoteWithPlacement Method

Definition

Overloads

ShowNoteWithPlacement(Int32, IBuffer)

Makes a note visible and sets its placement data (dimensions and location) as specified.

ShowNoteWithPlacement(Int32, IBuffer, NotesWindowManagerPreviewShowNoteOptions)

Makes a note visible and sets its placement data (dimensions and location) as specified.

ShowNoteWithPlacement(Int32, IBuffer)

Makes a note visible and sets its placement data (dimensions and location) as specified.

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)

Parameters

noteViewId
Int32

int

The unique identifier of the note to be shown.

data
IBuffer

An array of bytes holding note placement data.

Remarks

GetNotePlacement and ShowNoteWithPlacement can be used together to store the placement of a note (say, while the application is exiting) and then restore the note to its previous placement on the screen (when the application is opened again).

Applies to

ShowNoteWithPlacement(Int32, IBuffer, NotesWindowManagerPreviewShowNoteOptions)

Makes a note visible and sets its placement data (dimensions and location) as specified.

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)

Parameters

noteViewId
Int32

int

The unique identifier of the note to be shown.

data
IBuffer

An array of bytes holding note placement data.

options
NotesWindowManagerPreviewShowNoteOptions

Options for showing the note specified by the noteViewId parameter. For example, show the note with focus.

Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.ApplicationModel.Preview.Notes.PreviewNotesContract (introduced in v2.0)

Remarks

GetNotePlacement and ShowNoteWithPlacement can be used together to store the placement of a note (say, while the application is exiting) and then restore the note to its previous placement on the screen (when the application is opened again).

See also

Applies to