Extension.ToDictionary(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.
Converts a ; separated string into a dictionary
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ ToDictionary(System::String ^ connectionString);
public static System.Collections.Generic.IDictionary<string,string> ToDictionary (this string connectionString);
static member ToDictionary : string -> System.Collections.Generic.IDictionary<string, string>
<Extension()>
Public Function ToDictionary (connectionString As String) As IDictionary(Of String, String)
Parameters
- connectionString
- String
String to parse
Returns
Dictionary of properties from the connection string