OracleConnectionStringBuilder.ContainsKey(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the OracleConnectionStringBuilder contains a specific key.
public:
override bool ContainsKey(System::String ^ keyword);
public override bool ContainsKey(string keyword);
override this.ContainsKey : string -> bool
Public Overrides Function ContainsKey (keyword As String) As Boolean
Parameters
- keyword
- String
The key to locate in the OracleConnectionStringBuilder.
Returns
true
if the OracleConnectionStringBuilder contains an element that has the specified key; otherwise, false
.
Exceptions
keyword
is null (Nothing
in Visual Basic)
Remarks
Because the OracleConnectionStringBuilder contains a fixed-size collection of key/value pairs, the ContainsKey method determines only if a particular key name is valid.