Bagikan melalui


PropertyDictionary Members

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

Public Properties

Name Description
Public Property Count Gets the number of elements contained in this PropertyDictionary.
Public Property Item Gets or sets the element with the specified key.

Public Methods

Name Description
Public Method ContainsKey Determines whether the PropertyDictionary contains an element with the specified key.
Public Method Equals (Inherited from Object.)
Public Method GetEnumerator Returns an enumerator that iterates through a collection of key/value pairs that represent elements in the PropertyDictionary.
Public Method GetHashCode (Inherited from Object.)
Public Method GetType (Inherited from Object.)
Public Method GetValueDateTime Gets the value of the property with the specified key, as a System.DateTime.
Public Method GetValueDouble Gets the value of the property with the specified key, as a System.Double.
Public Method GetValueInt32 Gets the value of the property with the specified key, as a System.Int32.
Public Method GetValueInt64 Gets the value of the property with the specified key, as a System.Int64.
Public Method GetValueOutcome Gets the value of the property with the specified key, as a LeaderboardOutcome.
Public Method GetValueSingle Gets the value of the property with the specified key, as a System.Single.
Public Method GetValueStream Gets the value of the property with the specified key, as a System.IO.Stream.
Public Method GetValueString Gets the value of the property with the specified key, as a System.String.
Public Method GetValueTimeSpan Gets the value of the property with the specified key, as a System.TimeSpan.
Public Method SetValue Overloaded. Methods to set the value of the property with the specified key.
Public Method ToString (Inherited from Object.)
Public Method TryGetValue Determines if a value for the specified key exists in the PropertyDictionary.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

Explicit Interface Implementations

Name Description
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.IsReadOnly Gets a value indicating whether this PropertyDictionary is read-only.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.Add Adds an element to the PropertyDictionary. This method is not supported.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.Clear Removes all elements from the PropertyDictionary.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.Contains Determines whether the PropertyDictionary contains an element with the specified key/value pair.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.CopyTo Copies the elements of the PropertyDictionary to an Array, starting at a particular Array index.
Explicit Interface ImplementationMethod System.Collections.IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection of elements in the PropertyDictionary.
Explicit Interface ImplementationMethod System.Collections.Generic.ICollection{T}.Remove Removes an element from the PropertyDictionary. This method is not supported.

See Also

Reference

PropertyDictionary Class
Microsoft.Xna.Framework.GamerServices Namespace