EncryptionReferenceCollection.Add Method (String, String)
Appends an EncryptionReference to the end of a EncryptionReferenceCollection using the specified type and reference to the data that is encrypted.
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 encryptionReferenceCollection1 As EncryptionReferenceCollection
encryptionReferenceCollection1.Add(reference, type)
Syntax
'Declaration
Overloads Public Sub Add( _
ByVal reference As String, _
ByVal type As String _
)
public void Add(
string reference,
string type
);
public:
void Add(
String^ reference,
String^ type
);
public void Add(
System.String reference,
System.String type
);
public function Add(
reference : String,
type : String
) : Void;
Parameters
- reference
A reference to the data that is encrypted.
- type
A URI that specifies the type of data that is encrypted.
Remarks
The type parameter must be Content or Element.
The reference parameter should be the value of the Id attribute of the XML element to encrypt.
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
EncryptionReferenceCollection Class
EncryptionReferenceCollection Members
Microsoft.Web.Services3.Security Namespace