Rediger

Del via


XmlDsigXPathTransform.GetOutput Method

Definition

Returns the output of the current XmlDsigXPathTransform object.

Overloads

GetOutput()

Returns the output of the current XmlDsigXPathTransform object.

GetOutput(Type)

Returns the output of the current XmlDsigXPathTransform object of type XmlNodeList.

Remarks

Use the GetOutput method to retrieve a XmlNodeList object that contains an XML representation of an XPath transform.

GetOutput()

Source:
XmlDsigXPathTransform.cs
Source:
XmlDsigXPathTransform.cs
Source:
XmlDsigXPathTransform.cs

Returns the output of the current XmlDsigXPathTransform object.

public:
 override System::Object ^ GetOutput();
public override object GetOutput ();
override this.GetOutput : unit -> obj
Public Overrides Function GetOutput () As Object

Returns

The output of the current XmlDsigXPathTransform object.

Examples

The following code example demonstrates how to use the GetOutput method to retrieve the output of the current XmlDsigXPathTransform object. This code example is part of a larger example provided for the XmlDsigXPathTransform class.

object outputObject = xmlTransform.GetOutput();
Dim outputObject As Object = xmlTransform.GetOutput()

Remarks

The type of the returned object must be XmlNodeList.

Use the GetOutput method to retrieve a XmlNodeList object that contains an XML representation of an XPath transform.

Applies to

GetOutput(Type)

Source:
XmlDsigXPathTransform.cs
Source:
XmlDsigXPathTransform.cs
Source:
XmlDsigXPathTransform.cs

Returns the output of the current XmlDsigXPathTransform object of type XmlNodeList.

public:
 override System::Object ^ GetOutput(Type ^ type);
public override object GetOutput (Type type);
override this.GetOutput : Type -> obj
Public Overrides Function GetOutput (type As Type) As Object

Parameters

type
Type

The type of the output to return. XmlNodeList is the only valid type for this parameter.

Returns

The output of the current XmlDsigXPathTransform object of type XmlNodeList.

Exceptions

The type parameter is not an XmlNodeList object.

Examples

The following code example demonstrates how to use the GetOutput method to retrieve the output of the current XmlDsigXPathTransform object. This code example is part of a larger example provided for the XmlDsigXPathTransform class.

Type xmlDocumentType = typeof(System.Xml.XmlDocument);
XmlDocument xmlDocumentOutput = (XmlDocument)
    xmlTransform.GetOutput(xmlDocumentType);
Dim xmlDocumentType As Type = GetType(System.Xml.XmlDocument)
Dim xmlDocumentOutput As XmlDocument = CType(xmlTransform.GetOutput(xmlDocumentType), XmlDocument)

Remarks

The type of the returned object must be XmlNodeList.

Use the GetOutput method to retrieve a XmlNodeList object that contains an XML representation of an XPath transform.

Applies to