Visual Basic (Declaration) | |
---|---|
Public Overrides Function ContainsKey( _ ByVal keyword As String _ ) As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ConnectionStringBuilderBase Dim keyword As String Dim value As Boolean value = instance.ContainsKey(keyword) |
Parameters
- keyword
- The key to locate in the System.Data.Common.DbConnectionStringBuilder.
Return Value
true if the System.Data.Common.DbConnectionStringBuilder contains an entry with the specified key; otherwise false.Exception | Description |
---|---|
System.ArgumentNullException | keyword is a null reference (Nothing in Visual Basic). |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2