Edit

Share via


XmlDsigBase64Transform.GetOutput Method

Definition

Returns the output of the current XmlDsigBase64Transform object.

Overloads

GetOutput()

Returns the output of the current XmlDsigBase64Transform object.

GetOutput(Type)

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

GetOutput()

Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs
Source:
XmlDsigBase64Transform.cs

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

Examples

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

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

Type^ streamType = Stream::typeid;
CryptoStream^ outputStream = 
    (CryptoStream^)(xmlTransform->GetOutput(
    streamType));
Type streamType = typeof(System.IO.Stream);
CryptoStream outputStream = (CryptoStream) 
    xmlTransform.GetOutput(streamType);
Dim streamType As Type = GetType(System.IO.Stream)

Dim outputStream As CryptoStream
outputStream = CType( _
    xmlTransform.GetOutput(streamType), _
    CryptoStream)

Remarks

The type of the returned object must be Stream.

Applies to