LinkedElementCollection<T>.AsReadOnly Method
Gets a read-only collection of linked elements.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.