Dela via


Extension.ToDictionary(String) Method

Definition

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

Applies to