Partager via


ReadOnlyLinkedElementCollection<T>.ToArray Method

Creates an array and copies all role players in the collection into it.

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

Syntax

'Déclaration
Public Function ToArray As T()
public T[] ToArray()
public:
array<T>^ ToArray()
member ToArray : unit -> 'T[] 
public function ToArray() : T[]

Return Value

Type: array<T[]
An array of all role players in the collection.

.NET Framework Security

See Also

Reference

ReadOnlyLinkedElementCollection<T> Class

Microsoft.VisualStudio.Modeling Namespace