共用方式為


LinkedElementCollection<T>.AsReadOnly Method

Definition

Gets a read-only collection synchronized to this one.

public:
 Microsoft::VisualStudio::Modeling::ReadOnlyLinkedElementCollection<T> ^ AsReadOnly();
public Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<T> AsReadOnly ();
member this.AsReadOnly : unit -> Microsoft.VisualStudio.Modeling.ReadOnlyLinkedElementCollection<'T (requires 'T :> Microsoft.VisualStudio.Modeling.ModelElement)>
Public Function AsReadOnly () As ReadOnlyLinkedElementCollection(Of T)

Returns

Read-only collection of role players.

Applies to