C-DEngine 5.105

HttpListenerPrefixCollection..::..CopyTo Method (array<String>[]()[][], Int32)

Copies the contents of the collection to the specified array of String.

Namespace:  WebSocketSharp.Net
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public void CopyTo(
	string[] array,
	int offset
)
Public Sub CopyTo ( _
	array As String(), _
	offset As Integer _
)
public:
void CopyTo(
	array<String^>^ array, 
	int^ offset
)

Parameters

array
Type: array<String>[]()[][]
An array of String that receives the URI prefix strings in the collection.
offset
Type: Int32
An Int32 that represents the zero-based index in array at which copying begins.

Exceptions


ExceptionCondition
ObjectDisposedException The HttpListener associated with this collection is closed.