Redigera

Dela via


XmlDsigEnvelopedSignatureTransform.GetOutput Method

Definition

Returns the output of the current XmlDsigEnvelopedSignatureTransform object.

Overloads

GetOutput()

Returns the output of the current XmlDsigEnvelopedSignatureTransform object.

GetOutput(Type)

Returns the output of the current XmlDsigEnvelopedSignatureTransform object of type XmlNodeList.

GetOutput()

Source:
XmlDsigEnvelopedSignatureTransform.cs
Source:
XmlDsigEnvelopedSignatureTransform.cs
Source:
XmlDsigEnvelopedSignatureTransform.cs
Source:
XmlDsigEnvelopedSignatureTransform.cs
Source:
XmlDsigEnvelopedSignatureTransform.cs

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

Exceptions

The containing XML document is null.

Examples

The following code example demonstrates how to use the GetOutput method. This code example is part of a larger example provided for the XmlDsigEnvelopedSignatureTransform class.

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

Remarks

The type of the returned object must be XmlNodeList.

Applies to

GetOutput(Type)

Source:
XmlDsigEnvelopedSignatureTransform.cs
Source:
XmlDsigEnvelopedSignatureTransform.cs
Source:
XmlDsigEnvelopedSignatureTransform.cs
Source:
XmlDsigEnvelopedSignatureTransform.cs
Source:
XmlDsigEnvelopedSignatureTransform.cs

Returns the output of the current XmlDsigEnvelopedSignatureTransform object of type 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

Parameters

type
Type

The type of the output to return. XmlNodeList is the only valid type for this parameter.

Returns

The output of the current XmlDsigEnvelopedSignatureTransform object of type XmlNodeList.

Exceptions

The type parameter is not an XmlNodeList object.

Examples

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

Type^ xmlDocumentType = System::Xml::XmlDocument::typeid;
XmlDocument^ xmlDocumentOutput = (XmlDocument^)
    xmlTransform->GetOutput(xmlDocumentType);
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)

Remarks

The type of the returned object must be XmlNodeList.

Applies to