[]
        
(Showing Draft Content)

C1.Web.Api.Configuration.Manager-1.TryGet

TryGet Method

TryGet(string, out T)

Try to get the instance which is mapped to the specified key.

Declaration
public bool TryGet(string key, out T value)
Parameters
Type Name Description
string key

The item key.

T value

The item

Returns
Type Description
bool

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