ProfileInfoCollection.CopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the ProfileInfoCollection to a one-dimensional array.
Overloads
CopyTo(Array, Int32) |
Copies the ProfileInfoCollection to a one-dimensional array. |
CopyTo(ProfileInfo[], Int32) |
Copies the ProfileInfoCollection to a one-dimensional array of type ProfileInfo. |
CopyTo(Array, Int32)
Copies the ProfileInfoCollection to a one-dimensional array.
public:
virtual void CopyTo(Array ^ array, int index);
public void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Sub CopyTo (array As Array, index As Integer)
Parameters
- array
- Array
A one-dimensional Array that is the destination of the elements copied from the ProfileInfoCollection. The Array must have zero-based indexing.
- index
- Int32
The zero-based index in array at which copying begins.
Implements
Remarks
This method uses ArrayList.CopyTo to copy ProfileInfo objects to the specified Array.
See also
Applies to
CopyTo(ProfileInfo[], Int32)
Copies the ProfileInfoCollection to a one-dimensional array of type ProfileInfo.
public:
void CopyTo(cli::array <System::Web::Profile::ProfileInfo ^> ^ array, int index);
public void CopyTo (System.Web.Profile.ProfileInfo[] array, int index);
member this.CopyTo : System.Web.Profile.ProfileInfo[] * int -> unit
Public Sub CopyTo (array As ProfileInfo(), index As Integer)
Parameters
- array
- ProfileInfo[]
A one-dimensional array of type ProfileInfo that is the destination of the elements copied from the ProfileInfoCollection. The array must have zero-based indexing.
- index
- Int32
The zero-based index in the array
at which copying begins.
Remarks
This method uses ArrayList.CopyTo to copy ProfileInfo objects to the specified array.
See also
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應