一款简单易用的基础网络通讯组件库。

IgnoreCaseNameValueCollection 类

IgnoreCaseNameValueCollection

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public class IgnoreCaseNameValueCollection : NameValueCollection
Inheritance
Object    NameObjectCollectionBase    NameValueCollection    IgnoreCaseNameValueCollection

构造函数

IgnoreCaseNameValueCollection IgnoreCaseNameValueCollection

属性

AllKeysGets all the keys in the NameValueCollection.
(继承自 NameValueCollection。)
CountGets the number of key/value pairs contained in the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
IsReadOnlyGets or sets a value indicating whether the NameObjectCollectionBase instance is read-only.
(继承自 NameObjectCollectionBase。)
ItemInt32Gets the entry at the specified index of the NameValueCollection.
(继承自 NameValueCollection。)
ItemStringGets or sets the entry with the specified key in the NameValueCollection.
(继承自 NameValueCollection。)
KeysGets a NameObjectCollectionBaseKeysCollection instance that contains all the keys in the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)

方法

Add(NameValueCollection)Copies the entries in the specified NameValueCollection to the current NameValueCollection.
(继承自 NameValueCollection。)
Add(String, String)Adds an entry with the specified name and value to the NameValueCollection.
(继承自 NameValueCollection。)
BaseAddAdds an entry with the specified key and value into the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
BaseClearRemoves all entries from the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
BaseGet(Int32)Gets the value of the entry at the specified index of the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
BaseGet(String)Gets the value of the first entry with the specified key from the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
BaseGetAllKeysReturns a String array that contains all the keys in the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
BaseGetAllValuesReturns an Object array that contains all the values in the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
BaseGetAllValues(Type)Returns an array of the specified type that contains all the values in the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
BaseGetKeyGets the key of the entry at the specified index of the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
BaseHasKeysGets a value indicating whether the NameObjectCollectionBase instance contains entries whose keys are not .
(继承自 NameObjectCollectionBase。)
BaseRemoveRemoves the entries with the specified key from the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
BaseRemoveAtRemoves the entry at the specified index of the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
BaseSet(Int32, Object)Sets the value of the entry at the specified index of the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
BaseSet(String, Object)Sets the value of the first entry with the specified key in the NameObjectCollectionBase instance, if found; otherwise, adds an entry with the specified key and value into the NameObjectCollectionBase instance.
(继承自 NameObjectCollectionBase。)
ClearInvalidates the cached arrays and removes all entries from the NameValueCollection.
(继承自 NameValueCollection。)
CopyToCopies the entire NameValueCollection to a compatible one-dimensional Array, starting at the specified index of the target array.
(继承自 NameValueCollection。)
EqualsDetermines whether the specified object is equal to the current object.
(继承自 Object。)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(继承自 Object。)
Get(Int32)Gets the values at the specified index of the NameValueCollection combined into one comma-separated list.
(继承自 NameValueCollection。)
Get(String)Gets the values associated with the specified key from the NameValueCollection combined into one comma-separated list.
(继承自 NameValueCollection。)
GetEnumeratorReturns an enumerator that iterates through the NameObjectCollectionBase.
(继承自 NameObjectCollectionBase。)
GetHashCodeServes as the default hash function.
(继承自 Object。)
GetKeyGets the key at the specified index of the NameValueCollection.
(继承自 NameValueCollection。)
GetTypeGets the Type of the current instance.
(继承自 Object。)
GetValues(Int32)Gets the values at the specified index of the NameValueCollection.
(继承自 NameValueCollection。)
GetValues(String)Gets the values associated with the specified key from the NameValueCollection.
(继承自 NameValueCollection。)
HasKeysGets a value indicating whether the NameValueCollection contains keys that are not .
(继承自 NameValueCollection。)
InvalidateCachedArraysResets the cached arrays of the collection to .
(继承自 NameValueCollection。)
MemberwiseCloneCreates a shallow copy of the current Object.
(继承自 Object。)
OnDeserializationImplements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(继承自 NameObjectCollectionBase。)
RemoveRemoves the entries with the specified key from the NameObjectCollectionBase instance.
(继承自 NameValueCollection。)
SetSets the value of an entry in the NameValueCollection.
(继承自 NameValueCollection。)
ToStringReturns a string that represents the current object.
(继承自 Object。)

扩展方法

Map
(由 Mapper 定义。)
Map
(由 Mapper 定义。)
MapTTarget
(由 Mapper 定义。)
ToJsonString 转换为Json
(由 SerializeConvert 定义。)

显式接口实现

ICollectionCopyToCopies the entire NameObjectCollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array.
(继承自 NameObjectCollectionBase。)
ICollectionIsSynchronizedGets a value indicating whether access to the NameObjectCollectionBase object is synchronized (thread safe).
(继承自 NameObjectCollectionBase。)
ICollectionSyncRootGets an object that can be used to synchronize access to the NameObjectCollectionBase object.
(继承自 NameObjectCollectionBase。)

参见