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.)

See Also

Reference

PropertyDictionary Class
Microsoft.Xna.Framework.GamerServices Namespace