Okapi .NET Library

IUtilitySet.GetOption Method 

 [This is preliminary documentation and subject to change.]

Gets the value of the specified option for the current utility.

[Visual Basic]
Function GetOption( _ 
   ByVal p_sName As String _ 
) As String
[C#]
string GetOption(
   string p_sName
);
[C++]
String* GetOption(
   String* p_sName
);
[JScript]
function GetOption(
   String p_sName
): String;

Parameters

p_sName
Name of the option to retrieve. This name is not case sensitive.

Return Value

The string value of the specified option for the current utility. Returns null if there was no option of that name.

Remarks

Use this method to retrieve individual option values.

See Also

IUtilitySet Interface | Okapi.Library.Utility Namespace | SetCurrentUtility | HasOptions | SetOptions | SetDefaultOptions | EditOptions