Share via


GetProfilePresentationInfo Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Retrieves XML representing how profiles in the profile system should be displayed for the specified culture.

Namespace:  Microsoft.CommerceServer.Profiles
Assembly:  Microsoft.CommerceServer.Profiles.CrossTierTypes (in Microsoft.CommerceServer.Profiles.CrossTierTypes.dll)

Syntax

'Declaration
Public Function GetProfilePresentationInfo ( _
    cultureCode As String _
) As XmlElement
'Usage
Dim instance As ProfileManagementContext
Dim cultureCode As String
Dim returnValue As XmlElement

returnValue = instance.GetProfilePresentationInfo(cultureCode)
public XmlElement GetProfilePresentationInfo(
    string cultureCode
)
public:
XmlElement^ GetProfilePresentationInfo(
    String^ cultureCode
)
public function GetProfilePresentationInfo(
    cultureCode : String
) : XmlElement

Parameters

  • cultureCode
    Type: System..::.String
    The culture for which the presentation info should be returned.

Return Value

Type: System.Xml..::.XmlElement
XML representing the presentation info for all profiles in the specified locale.

Exceptions

Exception Condition
ArgumentException

cultureCode is nullNothingnullptra null reference (Nothing in Visual Basic) and no default culture has been specified on the web service's web.config file.

Remarks

Returns an XML representing the presentation info for all profiles in the specified locale.

Permissions

See Also

Reference

ProfileManagementContext Class

ProfileManagementContext Members

Microsoft.CommerceServer.Profiles Namespace