Web API Core | ComponentOne
C1.Web.Api.Data Namespace / DataProviderManager Class / TryGet Method
The item key.
The item

In This Topic
    TryGet Method (DataProviderManager)
    In This Topic
    Try to get the instance which is mapped to the specified key.
    Syntax
    'Declaration
     
    
    Public Function TryGet( _
       ByVal key As String, _
       ByRef value As IDataProvider _
    ) As Boolean
    public bool TryGet( 
       string key,
       out IDataProvider value
    )

    Parameters

    key
    The item key.
    value
    The item

    Return Value

    true if contains an element with the specified key; otherwise, false.
    See Also