Partager via


GetShippingMethodName Method (String)

Returns the name of the ShippingMethod 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 GetShippingMethodName ( _
    languageId As String _
) As String
'Usage
Dim instance As ShippingMethod
Dim languageId As String
Dim returnValue As String

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

Parameters

  • languageId
    Type: System..::.String
    The language Id for which the language name is needed.

Return Value

Type: System..::.String
The name of ShippingMethod in the specified language.

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

This method is not required if the UI list view displays the shipping methods in all the languages and not just in the default language.

Permissions

See Also

Reference

ShippingMethod Class

ShippingMethod Members

GetShippingMethodName Overload

Microsoft.CommerceServer.Orders Namespace