Okapi .NET Library

FieldsString.Get Method (String, Int32)

 [This is preliminary documentation and subject to change.]

Gets the interger value for a specified option.

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

Parameters

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