Edit

Share 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
Source:
XmlDsigC14NTransform.cs

Returns the output of the current XmlDsigC14NTransform object.

public override object GetOutput();

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();

Remarks

The type of the returned object must be Stream.

Applies to

.NET 10 (package-provided) and other versions
Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

GetOutput(Type)

Source:
XmlDsigC14NTransform.cs
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 object GetOutput(Type type);

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 = typeof(System.IO.Stream);
MemoryStream outputStream = (MemoryStream) 
    xmlTransform.GetOutput(streamType);

Remarks

The type of the returned object must be Stream.

Applies to

.NET 10 (package-provided) and other versions
Product Versions
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10