Share via


EncryptedType.AddProperty(EncryptionProperty) 方法

定義

在 XML 加密的目前 EncryptedType 物件中,將 <EncryptionProperty> 子項目新增至 <EncryptedProperties> 項目。

public:
 void AddProperty(System::Security::Cryptography::Xml::EncryptionProperty ^ ep);
public void AddProperty (System.Security.Cryptography.Xml.EncryptionProperty ep);
member this.AddProperty : System.Security.Cryptography.Xml.EncryptionProperty -> unit
Public Sub AddProperty (ep As EncryptionProperty)

參數

備註

這個方法可用來將子專案加入 <EncryptionProperty><EncryptedProperties> 專案。 元素 <EncryptedProperties> 會提供 元素 <EncryptedType> 的其他資訊。

適用於