Método DataCollection.AddRange (IEnumerable)
Aplica-se a: CRM 2015 on-prem, CRM Online
Adds the elements of the specified collection to the end of the DataCollection.
Namespace: Microsoft.Xrm.Sdk
Assembly: Microsoft.Xrm.Sdk (em Microsoft.Xrm.Sdk.dll)
Sintaxe
'Declaração
<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
)
Parâmetros
- 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.
Segurança do Thread
Todos os membros estáticos (Shared in Visual Basic) desse tipo são protegidos por thread. Não há nenhum garantia de que os membros de instância sejam protegidos por thread.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows Server 2003 e
Plataformas de destino
Windows Vista,Windows XP
Consulte também
Referência
Classe genérica DataCollection
Membros de DataCollection
Namespace Microsoft.Xrm.Sdk
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.