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
- 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.