Udostępnij za pośrednictwem


XmlDsigC14NTransform.GetOutput Metoda

Definicja

Zwraca dane wyjściowe bieżącego XmlDsigC14NTransform obiektu.

Przeciążenia

GetOutput()

Zwraca dane wyjściowe bieżącego XmlDsigC14NTransform obiektu.

GetOutput(Type)

Zwraca dane wyjściowe bieżącego XmlDsigC14NTransform obiektu typu Stream.

GetOutput()

Źródło:
XmlDsigC14NTransform.cs
Źródło:
XmlDsigC14NTransform.cs
Źródło:
XmlDsigC14NTransform.cs
Źródło:
XmlDsigC14NTransform.cs
Źródło:
XmlDsigC14NTransform.cs
Źródło:
XmlDsigC14NTransform.cs

Zwraca dane wyjściowe bieżącego XmlDsigC14NTransform obiektu.

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

Zwraca

Dane wyjściowe bieżącego XmlDsigC14NTransform obiektu.

Przykłady

W poniższym przykładzie kodu pokazano, jak używać GetOutput metody do pobierania danych wyjściowych bieżącego XmlDsigC14NTransform obiektu. Ten przykład kodu jest częścią większego przykładu udostępnionego XmlDsigC14NTransform dla klasy .

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

Uwagi

Typ zwracanego obiektu musi mieć wartość Stream.

Dotyczy

GetOutput(Type)

Źródło:
XmlDsigC14NTransform.cs
Źródło:
XmlDsigC14NTransform.cs
Źródło:
XmlDsigC14NTransform.cs
Źródło:
XmlDsigC14NTransform.cs
Źródło:
XmlDsigC14NTransform.cs
Źródło:
XmlDsigC14NTransform.cs

Zwraca dane wyjściowe bieżącego XmlDsigC14NTransform obiektu typu 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

Parametry

type
Type

Typ danych wyjściowych do zwrócenia. Stream jest jedynym prawidłowym typem tego parametru.

Zwraca

Dane wyjściowe bieżącego XmlDsigC14NTransform obiektu typu Stream.

Wyjątki

Parametr type nie jest obiektem Stream .

Przykłady

W poniższym przykładzie kodu pokazano, jak używać GetOutput metody do pobierania danych wyjściowych bieżącego XmlDsigC14NTransform obiektu. Ten przykład kodu jest częścią większego przykładu udostępnionego XmlDsigC14NTransform dla klasy .

Type^ streamType = System::IO::Stream::typeid;
MemoryStream^ outputStream = static_cast<MemoryStream^>(
   xmlTransform->GetOutput( streamType ));
Type streamType = typeof(System.IO.Stream);
MemoryStream outputStream = (MemoryStream) 
    xmlTransform.GetOutput(streamType);
Dim streamType As Type = GetType(System.IO.Stream)
Dim outputStream As MemoryStream
outputStream = CType( _
    xmlTransform.GetOutput(streamType), _
    MemoryStream)

Uwagi

Typ zwracanego obiektu musi mieć wartość Stream.

Dotyczy