nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / KeyValuePair

KeyValuePair

Full name Microsoft.VisualBasic.Text.Xml.Models.KeyValuePair Assembly Microsoft.VisualBasic.Runtime Members 9

An object for the text file format xml data storage.(用于存储与XML文件之中的字符串键值对对象)

00 Remarks

  • 2016-05-24 为了更好的构建GCModeller项目的数据文档的格式,本类型对象不再继承自KeyValuePairObject类型

01 Syntax

Microsoft.VisualBasic.Text.Xml.Models.KeyValuePair

02 Methods

NameOverloadsSummary
Equals 2
op_Implicit 1
ToString 1
CreateObject 1
ToDictionary 1
Distinct 1

03 Properties

NameOverloadsSummary
Key 1 Gets the key in the key/value pair.
Value 1

04 Members

method Equals #
Equals(KeyValuePair, Boolean)
Parameters
NameTypeDescription
objKeyValuePair

-

strictBoolean

If strict is TRUE then the function of the string compares will case sensitive.

property Key #
Key

Gets the key in the key/value pair.

Remarks

在这里可能用不了XmlAttributeAttribute自定义属性,因为其基本类型之中的Key和Value可以是任意的类型的,Attribute格式无法序列化复杂的数据类型

property Value #
Value
method op_Implicit #
op_Implicit(KeyValuePair(Of String, String))
method ToString #
ToString()
method CreateObject #
CreateObject(String, String)
method ToDictionary #
ToDictionary(IEnumerable(Of KeyValuePair))
method Equals overload 2 #
Equals(Object)
method Distinct #
Distinct(KeyValuePair())