Nevron Open Vision Documentation
Nevron.Nov.Serialization Namespace / NPropertyBag Class / TryGetValue<T> Method


In This Topic
    TryGetValue<T> Method (NPropertyBag)
    In This Topic
    Tries to get a typed value.
    Syntax
    'Declaration
     
    
    Public Function TryGetValue(Of T)( _
       ByVal name As System.String, _
       ByRef value As T _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NPropertyBag
    Dim name As System.String
    Dim value As T
    Dim value As System.Boolean
     
    value = instance.TryGetValue(Of T)(name, value)
    public System.bool TryGetValue<T>( 
       System.string name,
       out T value
    )

    Parameters

    name
    value

    Type Parameters

    T
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also