IsReadOnly property

HttpCookiePairHeaderValueCollection.IsReadOnly property

Gets a value indicating whether the collection is read-only.

Syntax


public bool IsReadOnly { get; }

Property value

Type: System.Boolean

true if the collection is read-only; otherwise, false.

Remarks

For HttpCookiePairHeaderValueCollection, IsReadOnly always returns false. IsReadOnly exists because the ICollection<T> interface contract requires an implementation.

Requirements (Windows 10 device family)

Device family

API contract

Namespace

Windows.Web.Http.Headers

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Headers

See also

HttpCookiePairHeaderValueCollection

 

 

Show:
© 2016 Microsoft