Share via


QueryThrottlingTierExtensions.ToLocalizedString method

Localizes the value of given tier in the given cultureInfo.

Namespace:  Microsoft.Office.Server.Search.Query.Throttling
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ToLocalizedString ( _
    tier As QueryThrottlingTier, _
    cultureInfo As CultureInfo _
) As String
'Usage
Dim tier As QueryThrottlingTier
Dim cultureInfo As CultureInfo
Dim returnValue As String

returnValue = tier.ToLocalizedString(cultureInfo)
public static string ToLocalizedString(
    this QueryThrottlingTier tier,
    CultureInfo cultureInfo
)

Parameters

Return value

Type: System.String
Returns the localized string for tier.

Usage note

In Visual Basic and C#, you can call this method as an instance method on any object of type QueryThrottlingTier. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=office.15) or https://msdn.microsoft.com/en-us/library/bb383977(v=office.15).

See also

Reference

QueryThrottlingTierExtensions class

QueryThrottlingTierExtensions members

Microsoft.Office.Server.Search.Query.Throttling namespace