ParameterTypeDictionary ClassParameterTypeDictionary ClassParameterTypeDictionary Class
A mapping from parameter names to parameter types.
Inheritance Hierarchy
- System.ObjectSystem.ObjectSystem::Object
- XmlPrime.ParameterTypeDictionaryXmlPrime.ParameterTypeDictionaryXmlPrime::ParameterTypeDictionary
Syntax
Public NotInheritable Class ParameterTypeDictionary _ Implements IDictionary(Of System.Xml.XmlQualifiedName, XdmType), _ ICollection(Of KeyValuePair(Of System.Xml.XmlQualifiedName, XdmType)), _ IEnumerable(Of KeyValuePair(Of System.Xml.XmlQualifiedName, XdmType)), _ System.Collections.IEnumerable
public sealed class ParameterTypeDictionary : IDictionary<System.Xml.XmlQualifiedName, XdmType>, ICollection<KeyValuePair<System.Xml.XmlQualifiedName, XdmType>>, IEnumerable<KeyValuePair<System.Xml.XmlQualifiedName, XdmType>>, System.Collections.IEnumerable
public: ref class ParameterTypeDictionary sealed : IDictionary<System.Xml::XmlQualifiedName^, XdmType^>, ICollection<KeyValuePair<System.Xml::XmlQualifiedName^, XdmType^>>, IEnumerable<KeyValuePair<System.Xml::XmlQualifiedName^, XdmType^>>, System.Collections::IEnumerable^
The ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary
type exposes the following members.
Constructors
Constructor | Description | |
---|---|---|
![]() | ParameterTypeDictionary ()ParameterTypeDictionary ()ParameterTypeDictionary () | Initializes a new instance of the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary class. |
![]() | ParameterTypeDictionary (ParameterTypeDictionary)ParameterTypeDictionary (ParameterTypeDictionary)ParameterTypeDictionary (ParameterTypeDictionary^) | Initializes a new instance of the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary class. |
Properties
Property | Description | |
---|---|---|
![]() | CountCountCount | Gets the number of parameters contained in the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary. |
![]() | ItemItemItem | Gets or sets the type of the parameter with the specified name. |
![]() | NamesNamesNames | Gets the names of the parameters contained in this ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary. |
Methods
Method | Description | |
---|---|---|
![]() | Add (KeyValuePair<XmlQualifiedName, XdmType>)Add (KeyValuePair(Of XmlQualifiedName, XdmType))Add (KeyValuePair<XmlQualifiedName^, XdmType^>) | Adds an item to the ICollection<T>ICollection(Of T)ICollection<T>. |
![]() | Add (XmlQualifiedName, XdmType)Add (XmlQualifiedName, XdmType)Add (XmlQualifiedName^, XdmType^) | Adds the specified parameter type to the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary. |
![]() | ClearClearClear | Removes all parameter entries from the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary. |
![]() | ContainsContainsContains | Determines whether the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary contains the specified parameter. |
![]() | Object.EqualsObject.EqualsObject::Equals | Determines whether the specified objectObjectobject is equal to the current objectObjectobject.(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 a hash function for a particular type. (Inherited from System.ObjectSystem.ObjectSystem::Object) |
![]() | Object.GetTypeObject.GetTypeObject::GetType | Gets the type 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 parameter with the specified name from this ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary. |
![]() | 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 ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary instance is used to supply the refined types for XQuery external variables, XPath variables or XSL stylesheet parameters.
This is particularly useful when employing static type checking but the variables or parameters have not been annotated with sufficient type information to permit static type checking.