Okapi .NET Library

FieldsString.Get Method (String, Boolean)

 [This is preliminary documentation and subject to change.]

Gets the boolean value for a specified option.

[Visual Basic]
Public Function Get( _ 
   ByVal p_sName As String, _ 
   ByVal p_bDefaultValue As Boolean _ 
) As Boolean
[C#]
public bool Get(
   string p_sName,
   bool p_bDefaultValue
);
[C++]
public: bool Get(
   String* p_sName,
   bool p_bDefaultValue
);
[JScript]
public function Get(
   String p_sName,
   bool p_bDefaultValue
): bool;

Parameters

p_sName
Name of the option to retrieve.
p_bDefaultValue
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