SignedInfo.AddReference(Reference) Method

Definition

Adds a Reference object to the list of references to digest and sign.

public:
 void AddReference(System::Security::Cryptography::Xml::Reference ^ reference);
public void AddReference (System.Security.Cryptography.Xml.Reference reference);
member this.AddReference : System.Security.Cryptography.Xml.Reference -> unit
Public Sub AddReference (reference As Reference)

Parameters

reference
Reference

The reference to add to the list of references.

Exceptions

The reference parameter is null.

Remarks

The AddReference method adds a Reference object to a collection that is accessible using the References property.

Applies to