ParameterTypeDictionary ClassParameterTypeDictionary ClassParameterTypeDictionary Class

A mapping from parameter names to parameter types.

Inheritance Hierarchy

The ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary type exposes the following members.

Constructors

 ConstructorDescription
Public methodParameterTypeDictionary ()ParameterTypeDictionary ()ParameterTypeDictionary () Initializes a new instance of the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary class.
Public methodParameterTypeDictionary (ParameterTypeDictionary)ParameterTypeDictionary (ParameterTypeDictionary)ParameterTypeDictionary (ParameterTypeDictionary^) Initializes a new instance of the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary class.

Top

Properties

 PropertyDescription
Public propertyCountCountCount Gets the number of parameters contained in the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary.
Public propertyItemItemItem Gets or sets the type of the parameter with the specified name.
Public propertyNamesNamesNames Gets the names of the parameters contained in this ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary.

Top

Methods

 MethodDescription
Public methodAdd (KeyValuePair<XmlQualifiedName, XdmType>)Add (KeyValuePair(Of XmlQualifiedName, XdmType))Add (KeyValuePair<XmlQualifiedName^, XdmType^>) Adds an item to the ICollection<T>ICollection(Of T)ICollection<T>.
Public methodAdd (XmlQualifiedName, XdmType)Add (XmlQualifiedName, XdmType)Add (XmlQualifiedName^, XdmType^) Adds a new parameter from an XPathNodeIteratorXPathNodeIteratorXPathNodeIterator value.
Public methodClearClearClear Removes all parameter entries from the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary.
Public methodContainsContainsContains Determines whether the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary contains the specified parameter.
Public methodObject.EqualsObject.EqualsObject::Equals Determines whether the specified objectObjectobject is equal to the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::Finalize Allows an objectObjectobject to attempt to free resources and perform other cleanup operations before the objectObjectobject is reclaimed by garbage collection. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodGetEnumeratorGetEnumeratorGetEnumerator Returns an enumerator that iterates through the collection.
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCode Serves as a hash function for a particular type. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetType Gets the TypeTypeType of the current instance. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseClone Creates a shallow copy of the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodRemoveRemoveRemove Removes the parameter with the specified name from this ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary.
Public methodObject.ToStringObject.ToStringObject::ToString Returns a stringStringString that represents the current objectObjectobject. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodTryGetValueTryGetValueTryGetValue Gets the value with the specified key.

Top

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.