NotesWindowManagerPreview.ShowNoteWithPlacement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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).