共用方式為


NodeSubItemDisplayNameCollection.CopyTo Method (String[], Int32)

 

Copies the contents of the collection to a string array, starting at a specified array index.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public void CopyTo(
    string[] array,
    int index
)
public:
void CopyTo(
    array<String^>^ array,
    int index
)
member CopyTo : 
        array:string[] *
        index:int -> unit
Public Sub CopyTo (
    array As String(),
    index As Integer
)

Parameters

  • array
    Type: System.String[]

    The target array to which the contents of the collection will be copied.

  • index
    Type: System.Int32

    The zero-based index where the copied contents will begin in the target array.

See Also

NodeSubItemDisplayNameCollection Class
Microsoft.ManagementConsole Namespace

Return to top