XmlDsigBase64Transform.GetOutput 方法

定义

返回当前 XmlDsigBase64Transform 对象的输出。

重载

名称 说明
GetOutput()

返回当前 XmlDsigBase64Transform 对象的输出。

GetOutput(Type)

返回类型的XmlDsigBase64Transform当前Stream对象的输出。

GetOutput()

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

返回当前 XmlDsigBase64Transform 对象的输出。

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

返回

当前 XmlDsigBase64Transform 对象的输出。

示例

下面的代码示例演示如何使用 GetOutput 该方法检索当前 XmlDsigBase64Transform 对象的输出。 该代码示例是 XmlDsigBase64Transform 类中的一个较大示例的一部分。

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

注解

返回对象的类型必须是 Stream

适用于

GetOutput(Type)

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

返回类型的XmlDsigBase64Transform当前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

参数

type
Type

要返回的输出的类型。 Stream 是此参数的唯一有效类型。

返回

类型的XmlDsigBase64Transform当前Stream对象的输出。

例外

参数 type 不是 Stream 对象。

示例

下面的代码示例演示如何使用 GetOutput 该方法检索当前 XmlDsigBase64Transform 对象的输出。 该代码示例是 XmlDsigBase64Transform 类中的一个较大示例的一部分。

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)

注解

返回对象的类型必须是 Stream

适用于