Share via


LinkedElementCollection<T>.AsReadOnly Method

Gets a read-only collection of linked elements.

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

Syntax

'Declaration
Public Function AsReadOnly As ReadOnlyLinkedElementCollection(Of T)
public ReadOnlyLinkedElementCollection<T> AsReadOnly()
public:
ReadOnlyLinkedElementCollection<T>^ AsReadOnly()
member AsReadOnly : unit -> ReadOnlyLinkedElementCollection<'T> 
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

Microsoft.VisualStudio.Modeling Namespace