DotNetOpenMail 0.5.7 (beta)

ARM.GetString Method (String, String)

Get a string for the specified CultureInfo for the default culture. If not found, return defaultvalue

[Visual Basic]
Public Function GetString( _ 
   ByVal name As String, _ 
   ByVal defaultvalue As String _ 
) As String
[C#]
public string GetString(
   string name,
   string defaultvalue
);
[C++]
public: String* GetString(
   String* name,
   String* defaultvalue
);
[JScript]
public function GetString(
   String name,
   String defaultvalue
): String;

Parameters

name
The key for the resource
defaultvalue
The value to return if there is no value found.

Return Value

returns a string, if one is found, else defaultvalue

See Also

ARM Class | DotNetOpenMail.Resources Namespace | ARM.GetString Overload List