Share via


MessageTypeMappingCollection.CopyTo Method

Copies the collection objects to a one-dimensional array beginning at the index value specified.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub CopyTo ( _
    array As MessageTypeMapping(), _
    index As Integer _
)
'Usage
Dim instance As MessageTypeMappingCollection
Dim array As MessageTypeMapping()
Dim index As Integer

instance.CopyTo(array, index)
public void CopyTo(
    MessageTypeMapping[] array,
    int index
)
public:
void CopyTo(
    array<MessageTypeMapping^>^ array, 
    int index
)
member CopyTo : 
        array:MessageTypeMapping[] * 
        index:int -> unit 
public function CopyTo(
    array : MessageTypeMapping[], 
    index : int
)

Parameters

  • index
    Type: System.Int32
    An Int32 value that specifies the index value from where to start the copy.

Remarks

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.