Export (0) Print
Expand All

NameValueCollection Members

Represents a collection of associated String keys and String values that can be accessed either with the key or with the index.

The following tables list the members exposed by the NameValueCollection type.

(see also Protected Constructors )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework NameValueCollection Overloaded. Initializes a new instance of the NameValueCollection class.
Top

  Name Description
Protected method Supported by the XNA Framework NameValueCollection Overloaded. Initializes a new instance of the NameValueCollection class.
Top

(see also Protected Properties )
  Name Description
Public property Supported by the .NET Compact Framework Supported by the XNA Framework AllKeys Gets all the keys in the NameValueCollection.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Count  Gets the number of key/value pairs contained in the NameObjectCollectionBase instance.(inherited from NameObjectCollectionBase)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Item Overloaded. Gets or sets the specified entry of the NameValueCollection.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Keys  Gets a NameObjectCollectionBase.KeysCollection instance that contains all the keys in the NameObjectCollectionBase instance.(inherited from NameObjectCollectionBase)
Top

  Name Description
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework IsReadOnly  Gets or sets a value indicating whether the NameObjectCollectionBase instance is read-only.(inherited from NameObjectCollectionBase)
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Add Overloaded. Adds entries to the current NameValueCollection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clear Invalidates the cached arrays and removes all entries from the NameValueCollection.
Public method CopyTo Copies the entire NameValueCollection to a compatible one-dimensional Array, starting at the specified index of the target array.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Get Overloaded. Gets the values of a specified entry in the NameValueCollection combined into one comma-separated list.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetEnumerator  Returns an enumerator that iterates through the NameObjectCollectionBase. (inherited from NameObjectCollectionBase)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetKey Gets the key at the specified index of the NameValueCollection.
Public method GetObjectData  Implements the ISerializable interface and returns the data needed to serialize the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetValues Overloaded. Gets the values of a specified entry in the NameValueCollection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework HasKeys Gets a value indicating whether the NameValueCollection contains keys that are not a null reference (Nothing in Visual Basic).
Public method OnDeserialization  Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (inherited from NameObjectCollectionBase)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Remove Removes the entries with the specified key from the NameObjectCollectionBase instance.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Set Sets the value of an entry in the NameValueCollection.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework BaseAdd  Adds an entry with the specified key and value into the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework BaseClear  Removes all entries from the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework BaseGet  Overloaded. Gets the value of the specified entry from the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework BaseGetAllKeys  Returns a String array that contains all the keys in the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase)
Protected method BaseGetAllValues  Overloaded. Returns an array that contains all the values in the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework BaseGetKey  Gets the key of the entry at the specified index of the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework BaseHasKeys  Gets a value indicating whether the NameObjectCollectionBase instance contains entries whose keys are not a null reference (Nothing in Visual Basic). (inherited from NameObjectCollectionBase)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework BaseRemove  Removes the entries with the specified key from the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework BaseRemoveAt  Removes the entry at the specified index of the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework BaseSet  Overloaded. Sets the value of an entry in the NameObjectCollectionBase instance. (inherited from NameObjectCollectionBase)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework InvalidateCachedArrays Resets the cached arrays of the collection to a null reference (Nothing in Visual Basic).
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft