NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ArrayList.ReadOnly (IList)

Returns a read-only IList wrapper.

[Visual Basic]
Overloads Public Shared Function ReadOnly( _
   ByVal list As IList _
) As IList
[C#]
public static IList ReadOnly(
   IList list
);
[C++]
public: static IList* ReadOnly(
   IList* list
);
[JScript]
public static function ReadOnly(
   list : IList
) : IList;

Parameters

list
The IList to wrap.

Return Value

A read-only IList wrapper around list.

Exceptions

Exception Type Condition
ArgumentNullException list is a null reference (in Visual Basic Nothing).

Remarks

This wrapper can be used to prevent any modifications to list.

See Also

ArrayList Class | ArrayList Members | System.Collections Namespace | ArrayList.ReadOnly Overload List