Bewerken

Delen via


XmlDsigC14NTransform.GetOutput Method

Definition

Returns the output of the current XmlDsigC14NTransform object.

Overloads

GetOutput()

Returns the output of the current XmlDsigC14NTransform object.

GetOutput(Type)

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

GetOutput()

Source:
XmlDsigC14NTransform.cs
Source:
XmlDsigC14NTransform.cs
Source:
XmlDsigC14NTransform.cs
Source:
XmlDsigC14NTransform.cs
Source:
XmlDsigC14NTransform.cs

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

Examples

The following code example demonstrates how to use the GetOutput method to retrieve the output of the current XmlDsigC14NTransform object. This code example is part of a larger example provided for the XmlDsigC14NTransform 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)

Source:
XmlDsigC14NTransform.cs
Source:
XmlDsigC14NTransform.cs
Source:
XmlDsigC14NTransform.cs
Source:
XmlDsigC14NTransform.cs
Source:
XmlDsigC14NTransform.cs

Returns the output of the current XmlDsigC14NTransform 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 XmlDsigC14NTransform 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 XmlDsigC14NTransform object. This code example is part of a larger example provided for the XmlDsigC14NTransform class.

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

Remarks

The type of the returned object must be Stream.

Applies to