PropertySettingsHelper.CreateValuePair(String, Object) 方法

定义

创建 KeyValuePair 类

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)

参数

key
String

字符串键

value
Object

对象值

返回

KeyValuePair<String,Object>

键值对

适用于