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