PinnedContactManager.RequestPinContactsAsync 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.
Pins a collection of contacts to the taskbar or Start menu.
public:
virtual IAsyncOperation<bool> ^ RequestPinContactsAsync(IIterable<Contact ^> ^ contacts, PinnedContactSurface surface) = RequestPinContactsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> RequestPinContactsAsync(IIterable<Contact> const& contacts, PinnedContactSurface const& surface);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> RequestPinContactsAsync(IEnumerable<Contact> contacts, PinnedContactSurface surface);
function requestPinContactsAsync(contacts, surface)
Public Function RequestPinContactsAsync (contacts As IEnumerable(Of Contact), surface As PinnedContactSurface) As IAsyncOperation(Of Boolean)
Parameters
- contacts
The collection of contacts to pin to the taskbar or Start menu.
- surface
- PinnedContactSurface
A pinnedContactSurface value that specifies where in the Windows UI you would like to pin the contacts.
Returns
An asynchronous operation that returns a Boolean value that indicates whether the contacts were successfully pinned to the specified location.
- Attributes
Windows requirements
App capabilities |
contactsSystem
|
Remarks
This method must be called from the main UI thread.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for