Partager via


GetDescription Method (String)

Gets the description of the PaymentMethod in the language specified or nullNothingnullptra null reference (Nothing in Visual Basic) if there is no value for that language.

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

Syntax

'Declaration
Public Function GetDescription ( _
    languageId As String _
) As String
'Usage
Dim instance As PaymentMethod
Dim languageId As String
Dim returnValue As String

returnValue = instance.GetDescription(languageId)
public string GetDescription(
    string languageId
)
public:
String^ GetDescription(
    String^ languageId
)
public function GetDescription(
    languageId : String
) : String

Parameters

  • languageId
    Type: System..::.String
    LanguageId for language in which description is needed.

Return Value

Type: System..::.String
The description of PaymentMethod in the specified language.

Exceptions

Exception Condition
ArgumentNullException

languageId is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

This method may not be required if the UI list view displays the PaymentMethods in all the languages and not just in its default language.

Permissions

See Also

Reference

PaymentMethod Class

PaymentMethod Members

GetDescription Overload

Microsoft.CommerceServer.Orders Namespace