del método IListConsumer.PartialListReady
NOTA: esta API está ahora obsoleta.
Proporciona un controlador de eventos para el evento PartialListReady de un elemento Web que implementa la interfaz IListProvider .
Espacio de nombres: Microsoft.SharePoint.WebPartPages.Communication
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
<ObsoleteAttribute("Use System.Web.UI.WebControls.WebParts.IWebPartTable instead")> _
Sub PartialListReady ( _
sender As Object, _
partialListReadyEventArgs As PartialListReadyEventArgs _
)
'Uso
Dim instance As IListConsumer
Dim sender As Object
Dim partialListReadyEventArgs As PartialListReadyEventArgs
instance.PartialListReady(sender, partialListReadyEventArgs)
[ObsoleteAttribute("Use System.Web.UI.WebControls.WebParts.IWebPartTable instead")]
void PartialListReady(
Object sender,
PartialListReadyEventArgs partialListReadyEventArgs
)
Parámetros
sender
Tipo: System.ObjectUn elemento Web que implementa la interfaz IListProvider .
partialListReadyEventArgs
Tipo: Microsoft.SharePoint.WebPartPages.Communication.PartialListReadyEventArgsPartialListReadyEventArgs que proporciona la lista consumida.
Comentarios
El método PartialListReady se ejecuta cuando se recibe la primera página de datos de la lista consumido.
Ejemplos
En el ejemplo de código siguiente se muestra la implementación del evento PartialListReady . Este ejemplo de código forma parte de un ejemplo más extenso de la interfaz IListConsumer .
' Step #8: Implement the PartialListReady event handler.
' The connected provider part(s) will call this method during its
' PartCommunicationMain phase to pass partial amounts of their primary
' data to the consumer Web Part. This is useful in
' scenarios involving large datasets that need to be streamed.
' <param name="sender">Reference to the provider Web Part</param>
' <param name="partialListReadyEventArgs">The args passed by the
' provider Web Part</param>
Public Sub PartialListReady(sender As Object, partialListReadyEventArgs As PartialListReadyEventArgs) _
Implements IListConsumer.PartialListReady
End Sub
' Because this class implements the IListConsumer interface, it must
' implement the interface member PartialListReady. However, this
' example doesn't use any data that may be passed in here.
// Step #8: Implement the PartialListReady event handler.
// The connected provider part(s) will call this method during its
// PartCommunicationMain phase to pass partial amounts of their primary
// data to the consumer Web Part. This is useful in
// scenarios involving large datasets that need to be streamed.
// <param name="sender">Reference to the provider Web Part</param>
// <param name="partialListReadyEventArgs">The args passed by the
// provider Web Part</param>
public void PartialListReady(object sender, PartialListReadyEventArgs partialListReadyEventArgs)
{
// Because this class implements the IListConsumer interface, it
// must implement the interface member PartialListReady. However,
// this example doesn't use any data that may be passed in here.
}
Vea también
Referencia
Espacio de nombres Microsoft.SharePoint.WebPartPages.Communication