A Sandcastle Documented Class Library

# ILocalizationService GetString Method (Guid, String, Object )

Gets the string corresponding to the specified key for the culture associated with the current caller.

Namespace: Dundas.BI
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    string GetString(
    	Guid moduleId,
    	string key,
    	params Object[] formatArgs
    )

    Function GetString (
    	moduleId As Guid,
    	key As String,
    	ParamArray formatArgs As Object()
    ) As String

    String^ GetString(
    	Guid moduleId,
    	String^ key,
    	... array<Object^>^ formatArgs
    )

    abstract GetString :
            moduleId : Guid *
            key : string *
            formatArgs : Object[] -> string

#### Parameters

moduleId
  Type: System
  Guid
  The ID of the module for which the string is registered.
key
  Type: System
  String
  The key of the string to look up.
formatArgs
  Type:
  System
  Object
  An object array that contains zero or more objects to format.

#### Return Value

Type: String
The string corresponding to key for the culture associated with the currently in-context Session; or key if there was no corresponding string defined for that culture (or any of its parent cultures).
See Also

#### Reference

ILocalizationService Interface
GetString Overload
Dundas.BI Namespace