PropertySettingsHelper.CreateValuePair(String, Object) 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.
Create a KeyValuePair class
public:
static System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> CreateValuePair(System::String ^ key, System::Object ^ value);
public static System.Collections.Generic.KeyValuePair<string,object> CreateValuePair (string key, object value);
static member CreateValuePair : string * obj -> System.Collections.Generic.KeyValuePair<string, obj>
Public Function CreateValuePair (key As String, value As Object) As KeyValuePair(Of String, Object)
Parameters
- key
- String
String key
- value
- Object
Object value
Returns
A Key value pair