Modify the string returned when GetXmlAttribute(String, String, String) fails to find a match.
Namespace:
FirmaSATAssembly: diFirmaSatNet (in diFirmaSatNet.dll) Version: 10.50.0.29531
Syntax
C# |
---|
public static void SetXmlNoMatch( string value ) |
Visual Basic (Declaration) |
---|
Public Shared Sub SetXmlNoMatch ( _ value As String _ ) |
Parameters
- value
- Type: System..::.String
New string value.
Examples

// Show default NoMatch string Console.WriteLine(Sat.XmlNoMatch()); // !NO MATCH! string fname = "cfdv40-ejemplo-signed-tfd.xml"; // Look for element that isn't there Console.WriteLine(Sat.GetXmlAttribute(fname, "", "/Comprobante/notthere")); // !NO MATCH! // Set a new NoMatch string Sat.SetXmlNoMatch("##No coinciden##"); Console.WriteLine(Sat.GetXmlAttribute(fname, "", "/Comprobante/notthere")); // ##No coinciden##