HttpCookieCollection.CopyTo メソッド
アセンブリ: System.Web (system.web.dll 内)

Dim instance As HttpCookieCollection Dim dest As Array Dim index As Integer instance.CopyTo(dest, index)

新しい Array オブジェクトに cookie コレクション全体をコピーする例を次に示します。
' Create the one-dimensional target array. ' Dimension it large enough to hold the cookies collection. Dim MyArray As Array = Array.CreateInstance(GetType(String), Request.Cookies.Count) ' Copy the entire collection to the array. Request.Cookies.CopyTo(MyArray, 0)
// Create the one-dimensional target array. // Dimension it large enough to hold the cookies collection. Array MyArray = Array.CreateInstance( typeof(String), Request.Cookies.Count ); // Copy the entire collection to the array. Request.Cookies.CopyTo( MyArray, 0 );

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からHttpCookieCollection.CopyTo メソッドを検索する場合は、下記のリンクをクリックしてください。

- HttpCookieCollection.CopyTo メソッドのページへのリンク