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

In This Topic
    TryGet Method (StorageProviderManager)
    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 IStorageProvider _
    ) As Boolean
    public bool TryGet( 
       string key,
       out IStorageProvider value
    )

    Parameters

    key
    The item key.
    value
    The item

    Return Value

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