Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the XML representation for this profile object in the specified format.
Namespace: Microsoft.CommerceServer.Runtime.Profiles
Assembly: Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)
Syntax
'Declaration
Public Function GetXml ( _
xmlRetrieve As ProfileXmlRetrieve, _
xmlFormat As ProfileXmlFormat _
) As String
'Usage
Dim instance As Profile
Dim xmlRetrieve As ProfileXmlRetrieve
Dim xmlFormat As ProfileXmlFormat
Dim returnValue As String
returnValue = instance.GetXml(xmlRetrieve, _
xmlFormat)
public string GetXml(
ProfileXmlRetrieve xmlRetrieve,
ProfileXmlFormat xmlFormat
)
public:
String^ GetXml(
ProfileXmlRetrieve xmlRetrieve,
ProfileXmlFormat xmlFormat
)
public function GetXml(
xmlRetrieve : ProfileXmlRetrieve,
xmlFormat : ProfileXmlFormat
) : String
Parameters
- xmlRetrieve
Type: Microsoft.CommerceServer.Runtime.Profiles..::.ProfileXmlRetrieve
Retrieve schema only, data only, or schema and data.
- xmlFormat
Type: Microsoft.CommerceServer.Runtime.Profiles..::.ProfileXmlFormat
Format XML data returned in element centric or attribute centric format.
Return Value
Type: System..::.String
XML representation for the data.
Remarks
The xmlRetrieve enumeration value shall be one of the following:
Data - Retrieve Data only.
Schema - Retrieve schema only.
SchemaAndData - Retrieve schema and data.
The xmlFormat enumeration value shall be one of the following:
AttributeCentric - Attribute centric format.
ElementCentric - Element centric format.
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.