Share via


LinkedElementCollection<T>.AsReadOnly Method

Gets a read-only collection of linked elements.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public Function AsReadOnly As ReadOnlyLinkedElementCollection(Of T)
'Usage
Dim instance As LinkedElementCollection 
Dim returnValue As ReadOnlyLinkedElementCollection(Of T)

returnValue = instance.AsReadOnly()
public ReadOnlyLinkedElementCollection<T> AsReadOnly()
public:
ReadOnlyLinkedElementCollection<T>^ AsReadOnly()
public function AsReadOnly() : ReadOnlyLinkedElementCollection<T>

Return Value

Type: Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<T>
A ReadOnlyLinkedElementCollection<T>, which is a read-only collection of elements.

.NET Framework Security

See Also

Reference

LinkedElementCollection<T> Class

LinkedElementCollection<T> Members

Microsoft.VisualStudio.Modeling Namespace