PinnedContactManager Class
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.
Represents a service that source apps can call to pin and unpin contacts to and from the taskbar or Start menu.
In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle. For more info, and code examples, see Display WinRT UI objects that depend on CoreWindow.
public ref class PinnedContactManager sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PinnedContactManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PinnedContactManager
Public NotInheritable Class PinnedContactManager
- Inheritance
- Attributes
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
App capabilities |
contactsSystem
|
User |
Gets the User associated with the PinnedContactManager. |
Get |
Gets the default instance of a PinnedContactManager. In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle. For more info, and code examples, see Display WinRT UI objects that depend on CoreWindow. |
Get |
Gets a PinnedContactManager for the specified user. |
Get |
Gets the ID's of all contacts that are pinned to the taskbar or Start menu. |
Is |
Indicates whether the specified contact is pinned to the specified location in the Windows user interface. |
Is |
Indicates whether the specified location in the Windows UI supports contact pinning. |
Is |
Indicates whether the Windows UI supports contact pinning. |
Request |
Pins a contact to the taskbar or Start menu. |
Request |
Pins a collection of contacts to the taskbar or Start menu. |
Request |
Unpins a contact from the taskbar or Start menu. |
Signal |
Indicates to Windows when activity that is related to a pinned contact occurs. |