SPWebPartConnectionCollection.Add method
Adiciona um SPWebPartConnection para o SPWebPartConnectionCollection.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Function Add ( _
value As SPWebPartConnection _
) As Integer
'Uso
Dim instance As SPWebPartConnectionCollection
Dim value As SPWebPartConnection
Dim returnValue As Integer
returnValue = instance.Add(value)
public int Add(
SPWebPartConnection value
)
Parâmetros
value
Type: Microsoft.SharePoint.WebPartPages.SPWebPartConnectionSPWebPartConnection a ser adicionada para a SPWebPartConnectionCollection.
Valor retornado
Type: System.Int32
O índice no qual o SPWebPartConnection foi adicionado.
Comentários
O SPWebPartConnection será adicionado ao final da SPWebPartConnectionCollection. Para adicionar um SPWebPartConnection em um local específico, use método- Insert .
Ver também
Referência
SPWebPartConnectionCollection class