Freigeben über


HttpRouteCollection.IsReadOnly Property

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

Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property IsReadOnly As Boolean
    Get
'Usage
Dim instance As HttpRouteCollection
Dim value As Boolean

value = instance.IsReadOnly
public virtual bool IsReadOnly { get; }
public:
virtual property bool IsReadOnly {
    bool get ();
}
abstract IsReadOnly : bool
override IsReadOnly : bool
function get IsReadOnly () : boolean

Property Value

Type: System.Boolean
true if the collection is read-only; otherwise, false.

Implements

ICollection<T>.IsReadOnly

See Also

Reference

HttpRouteCollection Class

System.Web.Http Namespace