PropertySettingsHelper.CreateValuePair(String, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 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
对象值
返回
键值对