DecimalFormatDictionary ClassDecimalFormatDictionary ClassDecimalFormatDictionary Class
A mapping from decimal format names to decimal formats.
Inheritance Hierarchy
- System.ObjectSystem.ObjectSystem::Object
- XmlPrime.DecimalFormatDictionaryXmlPrime.DecimalFormatDictionaryXmlPrime::DecimalFormatDictionary
Syntax
Public NotInheritable Class DecimalFormatDictionary _ Implements IDictionary(Of System.Xml.XmlQualifiedName, DecimalFormat), _ ICollection(Of KeyValuePair(Of System.Xml.XmlQualifiedName, DecimalFormat)), _ IEnumerable(Of KeyValuePair(Of System.Xml.XmlQualifiedName, DecimalFormat)), _ System.Collections.IEnumerable
public sealed class DecimalFormatDictionary : IDictionary<System.Xml.XmlQualifiedName, DecimalFormat>, ICollection<KeyValuePair<System.Xml.XmlQualifiedName, DecimalFormat>>, IEnumerable<KeyValuePair<System.Xml.XmlQualifiedName, DecimalFormat>>, System.Collections.IEnumerable
public: ref class DecimalFormatDictionary sealed : IDictionary<System.Xml::XmlQualifiedName^, DecimalFormat^>, ICollection<KeyValuePair<System.Xml::XmlQualifiedName^, DecimalFormat^>>, IEnumerable<KeyValuePair<System.Xml::XmlQualifiedName^, DecimalFormat^>>, System.Collections::IEnumerable^
The DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary
type exposes the following members.
Constructors
Constructor | Description | |
---|---|---|
![]() | DecimalFormatDictionary ()DecimalFormatDictionary ()DecimalFormatDictionary () | Initializes a new, empty instance of the DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary class. |
![]() | DecimalFormatDictionary (DecimalFormat)DecimalFormatDictionary (DecimalFormat)DecimalFormatDictionary (DecimalFormat^) | Initializes a new instance of the DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary class with the specified default decimal format. |
![]() | DecimalFormatDictionary (DecimalFormatDictionary)DecimalFormatDictionary (DecimalFormatDictionary)DecimalFormatDictionary (DecimalFormatDictionary^) | Initializes a new instance of the DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary class. |
Properties
Property | Description | |
---|---|---|
![]() | CountCountCount | Gets the number of decimal formats contained in the DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary. |
![]() | DefaultDecimalFormatDefaultDecimalFormatDefaultDecimalFormat | Gets or sets the default decimal format. |
![]() | ItemItemItem | Gets or sets the decimal format with the specified name. |
![]() | NamesNamesNames | Gets the names of the decimal formats contained in this DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary. |
Methods
Method | Description | |
---|---|---|
![]() | Add (KeyValuePair<XmlQualifiedName, DecimalFormat>)Add (KeyValuePair(Of XmlQualifiedName, DecimalFormat))Add (KeyValuePair<XmlQualifiedName^, DecimalFormat^>) | Adds an item to the ICollection<T>ICollection(Of T)ICollection<T>. |
![]() | Add (XmlQualifiedName, DecimalFormat)Add (XmlQualifiedName, DecimalFormat)Add (XmlQualifiedName^, DecimalFormat^) | Adds a new decimal format with the specified name. |
![]() | ClearClearClear | Removes all decimal formats from the DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary. |
![]() | ContainsContainsContains | Determines whether the DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary contains the specified decimal formats. |
![]() | Object.EqualsObject.EqualsObject::Equals | Determines whether the specified object is equal to the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | Object.FinalizeObject.FinalizeObject::Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | GetEnumeratorGetEnumeratorGetEnumerator | Returns an enumerator that iterates through the collection. |
![]() | Object.GetHashCodeObject.GetHashCodeObject::GetHashCode | Serves as the default hash function. (Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | Object.GetTypeObject.GetTypeObject::GetType | Gets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | Object.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone | Creates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | RemoveRemoveRemove | Removes the decimal format with the specified name from this DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary. |
![]() | Object.ToStringObject.ToStringObject::ToString | Returns a string that represents the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | TryGetValueTryGetValueTryGetValue | Gets the value with the specified key. |
Explicit Interface Implementations
Remarks
A DecimalFormatDictionaryDecimalFormatDictionaryDecimalFormatDictionary instance is used to supply additional statically known
decimal formats to XQuery, XPath and XSLT for use with the fn:format-number
function.