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 the specified parameter type to the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary.
Public methodClearClearClear Removes all parameter entries from the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary.
Public methodContainsContainsContains Determines whether the ParameterTypeDictionaryParameterTypeDictionaryParameterTypeDictionary contains the specified parameter.
Public methodObject.EqualsObject.EqualsObject::EqualsDetermines whether the specified object is equal to the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::FinalizeAllows 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)
Public methodGetEnumeratorGetEnumeratorGetEnumerator Returns an enumerator that iterates through the collection.
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCodeServes as the default hash function. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetTypeGets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseCloneCreates 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::ToStringReturns a string that represents the current object.(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.