CipherData.GetXml Metodo

Definizione

Ottiene i valori XML per l'oggetto CipherData .

public:
 System::Xml::XmlElement ^ GetXml();
public System.Xml.XmlElement GetXml();
member this.GetXml : unit -> System.Xml.XmlElement
Public Function GetXml () As XmlElement

Valori restituiti

Oggetto XmlElement che rappresenta le informazioni XML per l'oggetto CipherData .

Eccezioni

La CipherValue proprietà e la CipherReference proprietà sono null.

Esempio

Nell'esempio di codice seguente viene illustrato come creare una nuova istanza dell'oggetto CipherData .

// Create a new CipherData object.
CipherData cd = new CipherData();
// Assign a byte array to be the CipherValue. This is a byte array representing encrypted data.
cd.CipherValue = new byte[8];
' Create a new CipherData object.
Dim cd As New CipherData
' Assign a byte array to the CipherValue.
cd.CipherValue = New Byte(7) {}

Commenti

Utilizzare questo metodo per restituire il codice XML per un CipherData oggetto .

Si applica a