XmlDsigExcC14NTransform.GetOutput Method (Type)

 

Returns the output of the current XmlDsigExcC14NTransform object as an object of the specified type.

Namespace:   System.Security.Cryptography.Xml
Assembly:  System.Security (in System.Security.dll)

public override object GetOutput(
	Type type
)

Parameters

type
Type: System.Type

The type of the output to return. This must be one of the types in the OutputTypes property.

Return Value

Type: System.Object

The output of the current XmlDsigExcC14NTransform object as an object of the specified type.

Exception Condition
ArgumentException

The type parameter is not a Stream object.

-or-

The type parameter does not derive from a Stream object.

The GetOutput method returns the output of the current transform after it is run on the value previously set by a call to the LoadInput method.

The type of the returned object must be one of the type objects in the OutputTypes property.

.NET Framework
Available since 2.0
Return to top
Show: