Okapi .NET Library

FieldsString.Get Method (String, Char)

 [This is preliminary documentation and subject to change.]

Gets the character value for a specified option.

[Visual Basic]
Public Function Get( _ 
   ByVal p_sName As String, _ 
   ByVal p_chDefaultValue As Char _ 
) As Char
[C#]
public char Get(
   string p_sName,
   char p_chDefaultValue
);
[C++]
public: wchar_t Get(
   String* p_sName,
   wchar_t p_chDefaultValue
);
[JScript]
public function Get(
   String p_sName,
   char p_chDefaultValue
): char;

Parameters

p_sName
Name of the option to retrieve.
p_chDefaultValue
Default value.

Return Value

The value for the specified option, or the default value if no value could be found or if an error occured.

See Also

FieldsString Class | Okapi.Library.Base Namespace | FieldsString.Get Overload List