| IConfigurationProviderTryGet Method |
Attempts to get the value associated with the specified key.
Namespace:
Dynamicweb.Configuration
Assembly:
Dynamicweb.Configuration (in Dynamicweb.Configuration.dll) Version: 4.1.3
Syntax bool TryGet(
string key,
out string value
)
Function TryGet (
key As String,
<OutAttribute> ByRef value As String
) As Boolean
Parameters
- key
- Type: SystemString
Key of the value to get. - value
- Type: SystemString
When this method returns, contains the value associated with the specified key, or null if the operation failed.
Return Value
Type:
Booleantrue if the specified key was found; otherwise,
false.
See Also