다음을 통해 공유


GetDescription Method (String)

Returns the description 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 GetDescription ( _
    languageId As String _
) As String
'Usage
Dim instance As ShippingMethod
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
    The language Id for the language in which a description is needed

Return Value

Type: System..::.String
The description 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 configured languages, not just the default language.

Permissions

See Also

Reference

ShippingMethod Class

ShippingMethod Members

GetDescription Overload

Microsoft.CommerceServer.Orders Namespace