Compartir a través de


View.OnGetSharedData Method (Object, WritableSharedDataItem, SyncStatus)

 

Handles a request to provide data for a published data item that was designated as one that requires a callback.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

protected virtual byte[] OnGetSharedData(
    object selectionValue,
    WritableSharedDataItem item,
    SyncStatus status
)
protected:
virtual array<unsigned char>^ OnGetSharedData(
    Object^ selectionValue,
    WritableSharedDataItem^ item,
    SyncStatus^ status
)
abstract OnGetSharedData : 
        selectionValue:Object *
        item:WritableSharedDataItem *
        status:SyncStatus -> byte[]
override OnGetSharedData : 
        selectionValue:Object *
        item:WritableSharedDataItem *
        status:SyncStatus -> byte[]
Protected Overridable Function OnGetSharedData (
    selectionValue As Object,
    item As WritableSharedDataItem,
    status As SyncStatus
) As Byte()

Parameters

  • selectionValue
    Type: System.Object

    Selection object that identifies the items in the view for which this call is made.

Return Value

Type: System.Byte[]

Data to be passed to extensions.

Remarks

This method of providing published data should be used if the retrieval of the data is time-consuming, or if the data set is large.

See Also

View Class
Microsoft.ManagementConsole Namespace

Return to top