adTempus API
ArcanaDevelopment.adTempus.Client.Collections Namespace / OptionCollection Class / GetOptionValueAsBool Method
The name of the option to get (case-insensitive)


In This Topic
    GetOptionValueAsBool Method
    In This Topic
    Gets the value of the option with the specified name
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    Public Function GetOptionValueAsBool( _
       ByVal optionName As String _
    ) As Nullable(Of Boolean)
    [CanBeNull()]
    public Nullable<bool> GetOptionValueAsBool( 
       string optionName
    )
    [CanBeNull()]
    public:
    Nullable<bool> GetOptionValueAsBool( 
       String^ optionName
    ) 

    Parameters

    optionName
    The name of the option to get (case-insensitive)

    Return Value

    The OptionValue of the option with the specified name, or a null reference (Nothing in Visual Basic) if the collection does not contain an option with that name or the value cannot be converted to the required type.
    See Also