Share via


ListContractAdapter<TContract>.ICollectionContract<TContract>.GetIsReadOnly Method

This API supports the Visual Studio Tools for Applications infrastructure and is not intended to be used directly from your code.

For a description of this member, see ICollectionContract<C>.GetIsReadOnly.

Namespace:  Microsoft.VisualStudio.Tools.Applications
Assembly:  Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Adapter.v9.0.dll)

Syntax

'Declaration
Private Function GetIsReadOnly As Boolean 
    Implements ICollectionContract(Of TContract).GetIsReadOnly
'Usage
Dim instance As ListContractAdapter 
Dim returnValue As Boolean 

returnValue = CType(instance, ICollectionContract(Of TContract)).GetIsReadOnly()
bool ICollectionContract<TContract>.GetIsReadOnly()
private:
virtual bool GetIsReadOnly() sealed = ICollectionContract<TContract>::GetIsReadOnly
JScript does not support explicit interface implementations.

Return Value

Type: System.Boolean

Implements

ICollectionContract<C>.GetIsReadOnly()

Remarks

This member is an explicit interface member implementation. It can be used only when the ListContractAdapter<TContract> instance is cast to an ICollectionContract<C> interface.

See Also

Reference

ListContractAdapter<TContract> Class

ListContractAdapter<TContract> Members

Microsoft.VisualStudio.Tools.Applications Namespace