Release 4.0.0-preview1-00249
[platform/core/csapi/tizenfx.git] / src / Tizen.Pims.Contacts / Tizen.Pims.Contacts / ContactsQuery.cs
index 4bb4efd..4676a9d 100644 (file)
@@ -26,6 +26,7 @@ namespace Tizen.Pims.Contacts
     /// A query is used to retrieve person, group, speed dial, and log data which satisfies a given criteria, such as an integer property being greater than a given value, or a string property containing a given substring. 
     /// A query needs a filter which can set the conditions for the search.
     /// </remarks>
+    /// <since_tizen> 4 </since_tizen>
     public class ContactsQuery : IDisposable
     {
         internal IntPtr _queryHandle;
@@ -34,9 +35,11 @@ namespace Tizen.Pims.Contacts
         /// Creates a query.
         /// </summary>
         /// <param name="viewUri">The view URI of a query</param>
-        /// <exception cref="NotSupportedException">Thrown when an invoked method is not supported</exception>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
         /// <exception cref="OutOfMemoryException">Thrown when failed due to out of memory</exception>
+        /// <since_tizen> 4 </since_tizen>
         [SuppressMessage("Microsoft.Design", "CA1054:UriParametersShouldNotBeStrings")] 
         public ContactsQuery(string viewUri)
         {
@@ -56,6 +59,7 @@ namespace Tizen.Pims.Contacts
         /// <summary>
         /// Destructor
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         ~ContactsQuery()
         {
             Dispose(false);
@@ -67,6 +71,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsQuery.
         /// </summary>
         /// <param name="disposing">Disposing by User</param>
+        /// <since_tizen> 4 </since_tizen>
         protected virtual void Dispose(bool disposing)
         {
             if (disposing)
@@ -92,6 +97,7 @@ namespace Tizen.Pims.Contacts
         /// Releases all resources used by the ContactsQuery.
         /// It should be called after finished using of the object.
         /// </summary>
+        /// <since_tizen> 4 </since_tizen>
         public void Dispose()
         {
             Dispose(true);
@@ -103,7 +109,10 @@ namespace Tizen.Pims.Contacts
         /// Adds property IDs for projection.
         /// </summary>
         /// <param name="propertyIdArray">The property ID array </param>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void SetProjection(uint[] propertyIdArray)
         {
             if (propertyIdArray == null)
@@ -123,6 +132,9 @@ namespace Tizen.Pims.Contacts
         /// Sets the "distinct" option for projection.
         /// </summary>
         /// <param name="set">If true it is set, otherwise if false it is unset</param>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void SetDistinct(bool set)
         {
             int error = Interop.Query.ContactsQuerySetDistinct(_queryHandle, set);
@@ -137,7 +149,10 @@ namespace Tizen.Pims.Contacts
         /// Sets the filter for a query.
         /// </summary>
         /// <param name="filter">The filter</param>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void SetFilter(ContactsFilter filter)
         {
             int error = Interop.Query.ContactsQuerySetFilter(_queryHandle, filter._filterHandle);
@@ -153,7 +168,10 @@ namespace Tizen.Pims.Contacts
         /// </summary>
         /// <param name="propertyId">The property ID to sort</param>
         /// <param name="isAscending">If true it sorts in the ascending order, otherwise if false it sorts in the descending order</param>
+        /// <feature>http://tizen.org/feature/contact</feature>
+        /// <exception cref="NotSupportedException">Thrown when feature is not supported</exception>
         /// <exception cref="ArgumentException">Thrown when one of the arguments provided to a method is not valid</exception>
+        /// <since_tizen> 4 </since_tizen>
         public void SetSort(uint propertyId, bool isAscending)
         {
             int error = Interop.Query.ContactsQuerySetSort(_queryHandle, propertyId, isAscending);