Share via


EncryptedType.AddProperty(EncryptionProperty) 方法

定义

在 XML 加密的当前 EncryptedType 对象中,向 <EncryptedProperties> 元素添加 <EncryptionProperty> 子元素。

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>

适用于