CodeCarvings.Piczard
GetString(String,String) Method
See Also  Send Feedback
CodeCarvings.Piczard.Globalization Namespace > GlobalizationManager Class > GetString Method : GetString(String,String) Method

key
The key of the string to localize (e.g. "PPT_Popup_Button_Save").
culture
The name of the culture in which the string has to be localized (e.g. "en" or "it-IT").
Gets a localized string for the specified culture.

Syntax

Visual Basic (Declaration)  
Public Overloads Shared Function GetString( _
   ByVal key As String, _
   ByVal culture As String _
) As String
C#  
public static string GetString( 
   string key,
   string culture
)

Parameters

key
The key of the string to localize (e.g. "PPT_Popup_Button_Save").
culture
The name of the culture in which the string has to be localized (e.g. "en" or "it-IT").

Return Value

The localized string.

Remarks

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.