共用方式為


KeyInfoEncryptedKey.EncryptedKey 屬性

定義

取得或設定 EncryptedKey 一個封裝加密金鑰的物件。

public:
 property System::Security::Cryptography::Xml::EncryptedKey ^ EncryptedKey { System::Security::Cryptography::Xml::EncryptedKey ^ get(); void set(System::Security::Cryptography::Xml::EncryptedKey ^ value); };
public System.Security.Cryptography.Xml.EncryptedKey? EncryptedKey { get; set; }
public System.Security.Cryptography.Xml.EncryptedKey EncryptedKey { get; set; }
member this.EncryptedKey : System.Security.Cryptography.Xml.EncryptedKey with get, set
Public Property EncryptedKey As EncryptedKey

屬性值

一個 EncryptedKey 封裝加密金鑰的物件。

例外狀況

IsEditable 屬性為 true。

備註

這個KeyInfoEncryptedKey類別會包裝該EncryptedKey類別,讓你可以把該類別作為子元素KeyInfo加入EncryptedKey。 利用該 EncryptedKey 屬性存取 EncryptedKey 該類別中包含的 KeyInfoEncryptedKey 類別。

適用於