DBStorage.ProcessData Method (PIA)
Use this method to unpack the data stored in the MarshalColumn database column for a given row, and returns the resulting row in a Dictionary object.
Definition
[Visual Basic .NET]
Imports Microsoft.CommerceServer.Interop.Orders
…
Public Function ProcessData(pdispData As Object) As Object
[C#]
using Microsoft.CommerceServer.Interop.Orders;
…
public object ProcessData(objectpdispData);
Parameters
[Visual Basic .NET]
- pdispData
An object reference to a Dictionary object that contains the marshaled data.
[C#]
- pdispData
A Dictionary object that contains the marshaled data.
Return Values
[Visual Basic .NET] If this method completes successfully, it returns an object reference to a Dictionary object that contains the unmarshaled data.
[C#] This method returns the Dictionary object used containing the unmarshaled data.
Exceptions
This method may throw one of many mapped exceptions or an exception of type COMException. See Standard COM Errors for additional details.
[Visual Basic .NET]
Example
' dSource is a Dictionary object; OrderFormStorage is
' an initialized Commerce.DBStorage object; dDictionary is a
' Dictionary object which will receive the unmarshaled data
Order.order_id = "Order_tmp"
Order.shopper_id = "Shopper_tmp"
dDictionary = OrderFormStorage.ProcessData(dSource)
Requirements
Namespace: Microsoft.CommerceServer.Interop.Orders
Platforms: Windows 2000, Windows Server 2003
Assembly: commercelib (in commercelib.dll)
See Also
Copyright © 2005 Microsoft Corporation.
All rights reserved.