LiquidTechnologies.XmlObjects Namespace / LxNillable<T> Class / Implicit Type Conversion Operator / Implicit Type Conversion(T,LxNillable<T>) Operator
The nillable wrapper to extract the value from

In This Topic
    Implicit Type Conversion(T,LxNillable<T>) Operator
    In This Topic
    Implicitly converts a LxNillable<T> to its contained value
    Syntax
    'Declaration
     
    
    Overloads Public Operator Widening CType( _
       ByVal nillableWrapper As LxNillable(Of T) _
    ) As T
    public T operator implicit( 
       LxNillable<T> nillableWrapper
    )

    Parameters

    nillableWrapper
    The nillable wrapper to extract the value from

    Return Value

    If nillableWrapper is null and T is a class then null is returned. If nillableWrapper is null and T is a struct then default(T) is returned. Otherwise the Value contained in nillableWrapper is returned.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

    See Also