Update Method (String, ProfileXmlFormat)
Update the profile object with the property values specified in xmlData.
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Sub Update ( _
xmlData As String, _
xmlFormat As ProfileXmlFormat _
)
'Usage
Dim instance As Profile
Dim xmlData As String
Dim xmlFormat As ProfileXmlFormat
instance.Update(xmlData, xmlFormat)
public void Update(
string xmlData,
ProfileXmlFormat xmlFormat
)
public:
void Update(
String^ xmlData,
ProfileXmlFormat xmlFormat
)
public function Update(
xmlData : String,
xmlFormat : ProfileXmlFormat
)
Parameters
- xmlData
Type: System..::.String
XML string containing updated property values.
- xmlFormat
Type: Microsoft.CommerceServer.Runtime.Profiles..::.ProfileXmlFormat
Format XML data returned in element centric or attribute centric format.
Remarks
Use this method to update the profile object with the property values specified in the xmlData parameter.
The xmlFormat enumeration value shall be one of the following:
AttributeCentric - Attribute centric format.
ElementCentric - Element centric format.
Use the Update() method to commit the property changes made by the Update(String, ProfileXMLFormat) method to the data store.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.