CipherData.GetXml 메서드

정의

개체의 XML 값을 CipherData 가져옵니다.

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

반품

XmlElement 개체의 XML 정보를 나타내는 개체입니다CipherData.

예외

CipherValue 속성과 속성은 CipherReference 다음과 같습니다null.

예제

다음 코드 예제에서는 개체의 새 인스턴스를 만드는 방법을 보여 줍니다 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) {}

설명

개체에 대한 XML을 출력하려면 이 메서드를 CipherData 사용합니다.

적용 대상