OrderGroup.GetAddress
Use this method to get the specified address Dictionary object.
Definition
Function GetAddress(strAddressId As String) As Object
Parameters
strAddressId
A String that specifies the address ID.
Return Values
If the specified address is found, this method returns a reference to that dictionary, otherwise it returns a Nothing object.
Error Values
This method sets the Number property of the global Err object to S_OK (&H00000000) to indicate success and to standard COM error values to indicate failure. For more information about standard COM errors, see Standard COM Errors. Additional information may be available using the global Err object. In particular, the Description property may contain a text description of the error.
Remarks
For more information about memory ownership issues related to COM property and method parameters, see Managing COM Parameter Memory.
Example
' oOrderGroup is a Commerce.OrderGroup object
' dDict is a Dictionary object
dDict = oOrderGroup.GetAddress("{C4F9C9CC-C33E-11D0-B8A0-00C04FB616C7}")