GetPaymentMethodName Method (String)
Gets the name 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 GetPaymentMethodName ( _
languageId As String _
) As String
'Usage
Dim instance As PaymentMethod
Dim languageId As String
Dim returnValue As String
returnValue = instance.GetPaymentMethodName(languageId)
public string GetPaymentMethodName(
string languageId
)
public:
String^ GetPaymentMethodName(
String^ languageId
)
public function GetPaymentMethodName(
languageId : String
) : String
Parameters
- languageId
Type: System..::.String
LanguageId for language in which name is needed.
Return Value
Type: System..::.String
The name of the PaymentMethod in the DefaultLanguage.
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.