XmlDsigXsltTransform.GetOutput Method

Definition

Returns the output of the current XmlDsigXsltTransform object.

Overloads

GetOutput()

Returns the output of the current XmlDsigXsltTransform object.

GetOutput(Type)

Returns the output of the current XmlDsigXsltTransform object of type Stream.

GetOutput()

Returns the output of the current XmlDsigXsltTransform 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 XmlDsigXsltTransform object.

Examples

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

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

Remarks

The type of the returned object must be Stream.

Applies to

GetOutput(Type)

Returns the output of the current XmlDsigXsltTransform object of type Stream.

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. Stream is the only valid type for this parameter.

Returns

The output of the current XmlDsigXsltTransform object of type Stream.

Exceptions

The type parameter is not a Stream object.

Examples

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

Stream^ outputStream = (Stream^)xmlTransform->GetOutput(
   System::IO::Stream::typeid );
Stream outputStream = (Stream)
    xmlTransform.GetOutput(typeof(System.IO.Stream));
Dim outputStream As Stream
outputStream = CType(xmlTransform.GetOutput( _
    GetType(System.IO.Stream)), _
    System.IO.Stream)

Remarks

The type of the returned object must be Stream.

Applies to