Freigeben über


EncryptedData.AddReference Method (String, String)

Adds an XML element to encrypt using the specified Id attribute of the XML element and the specified type of encryption.

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim reference As String
Dim type As String
Dim encryptedData1 As EncryptedData
encryptedData1.AddReference(reference, type)

Syntax

'Declaration
Overloads Public Sub AddReference( _
    ByVal reference As String, _
    ByVal type As String _
)
public void AddReference(
    string reference, 
    string type
);
public:
void AddReference(
    String^ reference,
    String^ type
);
public void AddReference(
    System.String reference, 
    System.String type
);
public function AddReference(
     reference : String, 
     type : String
) : Void;

Parameters

  • reference
    The value of the Id attribute of the target XML element.
  • type
    Must be either XmlEncryption.TypeURI.Content or XmlEncryption.TypeURI.Element.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

EncryptedData Class
EncryptedData Members
Microsoft.Web.Services3.Security Namespace