TryGetValue(string, out Object) Method
Syntax:
public bool TryGetValue(string keyword, out Object value)
Description:
Retrieves a value corresponding to the supplied key from this RdmConnectionStringBuilder
Parameters:
keyword
Type: System.String
The key to locate in the RdmConnectionStringBuilder.
value
Type: System.Object
The value for the specified key
Return Value:
Type: System.Boolean
Returns true if the keyword was found in the RdmConnectionStringBuilder; otherwise returns false.
Exceptions:
Exception | Condition |
---|---|
ArgumentNullException | The key specified is null. |
Reference:
For more information, reference MSDN documentation for: System.Data.Common.DbConnectionStringBuilder.TryGetValue