SecureBlackbox 2020 .NET Edition

Questions / Feedback?

AddReference Method

Creates a new XML reference to the specified XML element.

Syntax

public void AddReference(string targetXmlElement, string customId, bool autoGenerateId);
Public Sub AddReference(ByVal TargetXmlElement As String, ByVal CustomId As String, ByVal AutoGenerateId As Boolean)

Remarks

Use this method to add a reference to a particular XML element.

The reference's URI is set basing on the ID of the XML element. If the XML element doesn't have an ID then a CustomId value will be used. If CustomId is empty and AutoGenerateId is set, the ID will be generated automatically. An exception will be thrown otherwise.

This method uses CanonicalizationMethod and HashAlgorithm properties to specify the canonicalization method and hash algorithm of the reference.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 .NET Edition - Version 20.0 [Build 8165]