CodeCarvings.Piczard
GetString Method
See Also  Send Feedback
CodeCarvings.Piczard.Plugins Namespace > IDynamicLocalizationPlugin Interface : GetString 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").
tag
An optional string that can be used to pass extra parameters during the dynamic localization process.
Please see: PictureTrimmer.Tag property.
Gets a localized string.

Syntax

Visual Basic (Declaration)  
Function GetString( _
   ByVal key As String, _
   ByVal culture As String, _
   ByVal tag As String _
) As PluginOperationResult(Of String)
C#  
PluginOperationResult<string> GetString( 
   string key,
   string culture,
   string tag
)

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").
tag
An optional string that can be used to pass extra parameters during the dynamic localization process.
Please see: PictureTrimmer.Tag property.

Return Value

PluginOperationResult<string> that indicates if the Plugin has handled the request.
In case of success (Handled=true) the Value property contains the localized string.

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.