Udostępnij za pośrednictwem


PropertySettingsHelper.CreateValuePair(String, Object) Method

Definition

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

Applies to