System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueuePermissionEntryCollection Class / CopyTo Method
An array of type MessageQueuePermissionEntry that receives this collection's permission entries.
The zero-based index at which to begin copying the permission entries.



In This Topic
    CopyTo Method (MessageQueuePermissionEntryCollection)
    In This Topic
    Copies the permission entries from this collection to an array, starting at a particular index of the array.
    Syntax
    'Declaration
     
    
    Public Sub CopyTo( _
       ByVal array() As MessageQueuePermissionEntry, _
       ByVal index As Integer _
    ) 
    'Usage
     
    
    Dim instance As MessageQueuePermissionEntryCollection
    Dim array() As MessageQueuePermissionEntry
    Dim index As Integer
     
    instance.CopyTo(array, index)
    public void CopyTo( 
       MessageQueuePermissionEntry[] array,
       int index
    )

    Parameters

    array
    An array of type MessageQueuePermissionEntry that receives this collection's permission entries.
    index
    The zero-based index at which to begin copying the permission entries.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also