/
Contacts.xml
97 lines (97 loc) · 6.36 KB
/
Contacts.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<Type Name="Contacts" FullName="Microsoft.Maui.ApplicationModel.Communication.Contacts">
<TypeSignature Language="C#" Value="public static class Contacts" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit Contacts extends System.Object" />
<TypeSignature Language="DocId" Value="T:Microsoft.Maui.ApplicationModel.Communication.Contacts" />
<TypeSignature Language="VB.NET" Value="Public Class Contacts" />
<TypeSignature Language="C++ CLI" Value="public ref class Contacts abstract sealed" />
<TypeSignature Language="F#" Value="type Contacts = class" />
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>
The Contacts API lets a user pick a contact and retrieve information about it.
</summary>
<remarks />
</Docs>
<Members>
<Member MemberName="Default">
<MemberSignature Language="C#" Value="public static Microsoft.Maui.ApplicationModel.Communication.IContacts Default { get; }" />
<MemberSignature Language="ILAsm" Value=".property class Microsoft.Maui.ApplicationModel.Communication.IContacts Default" />
<MemberSignature Language="DocId" Value="P:Microsoft.Maui.ApplicationModel.Communication.Contacts.Default" />
<MemberSignature Language="VB.NET" Value="Public Shared ReadOnly Property Default As IContacts" />
<MemberSignature Language="C++ CLI" Value="public:
 static property Microsoft::Maui::ApplicationModel::Communication::IContacts ^ Default { Microsoft::Maui::ApplicationModel::Communication::IContacts ^ get(); };" />
<MemberSignature Language="F#" Value="static member Default : Microsoft.Maui.ApplicationModel.Communication.IContacts" Usage="Microsoft.Maui.ApplicationModel.Communication.Contacts.Default" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Microsoft.Maui.ApplicationModel.Communication.IContacts</ReturnType>
</ReturnValue>
<Docs>
<summary>
Provides the default implementation for static usage of this API.
</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetAllAsync">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Maui.ApplicationModel.Communication.Contact>> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class System.Collections.Generic.IEnumerable`1<class Microsoft.Maui.ApplicationModel.Communication.Contact>> GetAllAsync(valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.ApplicationModel.Communication.Contacts.GetAllAsync(System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Contact))" />
<MemberSignature Language="F#" Value="static member GetAllAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Maui.ApplicationModel.Communication.Contact>>" Usage="Microsoft.Maui.ApplicationModel.Communication.Contacts.GetAllAsync cancellationToken" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Maui.ApplicationModel.Communication.Contact>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<Docs>
<param name="cancellationToken">A token that can be used for cancelling the operation.</param>
<summary>
Gets a collection of all the contacts on the device.
</summary>
<returns>A collection of contacts on the device.</returns>
<remarks />
</Docs>
</Member>
<Member MemberName="PickContactAsync">
<MemberSignature Language="C#" Value="public static System.Threading.Tasks.Task<Microsoft.Maui.ApplicationModel.Communication.Contact?> PickContactAsync ();" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Threading.Tasks.Task`1<class Microsoft.Maui.ApplicationModel.Communication.Contact> PickContactAsync() cil managed" />
<MemberSignature Language="DocId" Value="M:Microsoft.Maui.ApplicationModel.Communication.Contacts.PickContactAsync" />
<MemberSignature Language="VB.NET" Value="Public Shared Function PickContactAsync () As Task(Of Contact)" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Threading::Tasks::Task<Microsoft::Maui::ApplicationModel::Communication::Contact ^> ^ PickContactAsync();" />
<MemberSignature Language="F#" Value="static member PickContactAsync : unit -> System.Threading.Tasks.Task<Microsoft.Maui.ApplicationModel.Communication.Contact>" Usage="Microsoft.Maui.ApplicationModel.Communication.Contacts.PickContactAsync " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Microsoft.Maui.ApplicationModel.Communication.Contact></ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
Opens the operating system's default UI for picking a contact from the device.
</summary>
<returns>A single contact, or <see langword="null" /> if the user cancelled the operation.</returns>
<remarks />
</Docs>
</Member>
</Members>
</Type>