Creates an array and copies all role players in the collection into it.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Function ToArray As T()
'使用
Dim instance As ReadOnlyLinkedElementCollection
Dim returnValue As T()
returnValue = instance.ToArray()
public T[] ToArray()
public:
array<T>^ ToArray()
public function ToArray() : T[]
Return Value
Type: []
An array of all role players in the collection.
Permissions
- 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.
See Also
Reference
ReadOnlyLinkedElementCollection<T> Class