Condividi tramite


DataCollection.AddRange Metodo (IEnumerable)

Si applica a: CRM 2015 on-prem, CRM Online

Adds the elements of the specified collection to the end of the DataCollection.

Spazio dei nomi: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Justification:="Allows AddRange to be used for multiple types of enumerable items")> _
Public Sub AddRange ( _
    items As IEnumerable(Of KeyValuePair(Of TKey, TValue)) _
)
[SuppressMessageAttribute("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures", Justification="Allows AddRange to be used for multiple types of enumerable items")] 
public void AddRange (
    IEnumerable<KeyValuePair<TKey,TValue>> items
)

Parametri

  • items
    Type: IEnumerable<KeyValuePair<TKey, TValue>>. The collection whose elements should be added to the end of the DataCollection. The collection itself cannot be null, but it can contain elements that are null, if type T is a reference type.

Thread Safety

Tutti i membri statici pubblici (Shared in Visual Basic) di questo tipo sono thread-safe. Non è garantito che i membri di istanza siano thread-safe.

Piattaforme

Piattaforme di sviluppo

Windows Vista, Windows Server 2003 e

Piattaforme di destinazione

Windows Vista,Windows XP

Vedere anche

Riferimento

Classe generica DataCollection
Membri DataCollection
Spazio dei nomi Microsoft.Xrm.Sdk

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.