XmlDsigEnvelopedSignatureTransform.GetOutput 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回当前 XmlDsigEnvelopedSignatureTransform 对象的输出。
重载
| 名称 | 说明 |
|---|---|
| GetOutput() |
返回当前 XmlDsigEnvelopedSignatureTransform 对象的输出。 |
| GetOutput(Type) |
返回类型的XmlDsigEnvelopedSignatureTransform当前XmlNodeList对象的输出。 |
GetOutput()
返回当前 XmlDsigEnvelopedSignatureTransform 对象的输出。
public:
override System::Object ^ GetOutput();
public override object GetOutput();
override this.GetOutput : unit -> obj
Public Overrides Function GetOutput () As Object
返回
当前 XmlDsigEnvelopedSignatureTransform 对象的输出。
例外
包含的 XML 文档为 null.
示例
下面的代码示例演示如何使用 GetOutput 该方法。 该代码示例是 XmlDsigEnvelopedSignatureTransform 类中的一个较大示例的一部分。
object outputObject = xmlTransform.GetOutput();
Dim outputObject As Object = xmlTransform.GetOutput()
注解
返回对象的类型必须是 XmlNodeList。
适用于
GetOutput(Type)
返回类型的XmlDsigEnvelopedSignatureTransform当前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
参数
- type
- Type
要返回的输出的类型。 XmlNodeList 是此参数的唯一有效类型。
返回
类型的XmlDsigEnvelopedSignatureTransform当前XmlNodeList对象的输出。
例外
参数 type 不是 XmlNodeList 对象。
示例
下面的代码示例演示如何使用 GetOutput 该方法检索当前 XmlDsigEnvelopedSignatureTransform 对象的输出。 该代码示例是 XmlDsigEnvelopedSignatureTransform 类中的一个较大示例的一部分。
Type xmlDocumentType = typeof(System.Xml.XmlDocument);
XmlDocument xmlDocumentOutput = (XmlDocument)
xmlTransform.GetOutput(xmlDocumentType);
Dim xmlDocumentType As Type
xmlDocumentType = GetType(System.Xml.XmlDocument)
Dim xmlDocumentOutput As XmlDocument
xmlDocumentOutput = CType( _
xmlTransform.GetOutput(xmlDocumentType), _
XmlDocument)
注解
返回对象的类型必须是 XmlNodeList。