XPathResult Class

.NET Framework (current version)
 

Contains the value returned by an XPath query.

Namespace:   System.ServiceModel.Dispatcher
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.Dispatcher.XPathResult

[<Sealed>]
type XPathResult = 
    class
        interface IDisposable
    end

NameDescription
System_CAPS_pubpropertyResultType

Returns the type of the value returned by the XPath query.

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources owed by the object.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetResultAsBoolean()

Returns the result of the XPath query as a Boolean value.

System_CAPS_pubmethodGetResultAsNodeset()

Returns the result of the XPath query as an enumerable set of nodes.

System_CAPS_pubmethodGetResultAsNumber()

Returns the result of the XPath query as a number.

System_CAPS_pubmethodGetResultAsString()

Returns the result of the XPath query as a string.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The following example creates a message and XPath message queries. The queries are evaluated by the XPathMessageQuery objects contained in an XPathMessageQueryCollection object. The results of each query are tested using the ResultType property of the XPathResult class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 4.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: