Change-Id: I1954f5e0c7b7d69d29d2b0be76140174c0a78e99
}
/// <summary>
+ /// Represents whether attribute is readonly
+ /// </summary>
+ /// <code>
+ /// Tizen.Network.IoTConnectivity.Attributes attributes = new Tizen.Network.IoTConnectivity.Attributes() {
+ /// { "state", "ON" },
+ /// { "dim", 10 }
+ /// };
+ /// if (attributes.IsReadOnly)
+ /// Console.WriteLine("Read only attribute");
+ /// </code>
+ public bool IsReadOnly
+ {
+ get
+ {
+ return _attributes.IsReadOnly;
+ }
+ }
+
+ /// <summary>
/// Contains all the attribute keys
/// </summary>
/// <code>
}
/// <summary>
+ /// Represents whether the collection is readonly
+ /// </summary>
+ /// <code>
+ /// ResourceOptions options = new ResourceOptions();
+ /// if (options.IsReadOnly)
+ /// Console.WriteLine("Read only options");
+ /// </code>
+ public bool IsReadOnly
+ {
+ get
+ {
+ return _options.IsReadOnly;
+ }
+ }
+
+ /// <summary>
/// Gets or sets the option data
/// </summary>
/// <remarks>
}
/// <summary>
+ /// Represents whether the collection is readonly
+ /// </summary>
+ /// <code>
+ /// ResourceQuery query = new ResourceQuery();
+ /// if (query.IsReadOnly)
+ /// Console.WriteLine("Read only query");
+ /// </code>
+ public bool IsReadOnly
+ {
+ get
+ {
+ return _query.IsReadOnly;
+ }
+ }
+
+ /// <summary>
/// Gets or sets the query data
/// </summary>
/// <param name="key">The query key to get or set.</param>