XmlDsigC14NTransform Constructor (Boolean)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the XmlDsigC14NTransform class with comments, if specified.

Namespace:   System.Security.Cryptography.Xml
Assembly:  System.Security (in System.Security.dll)

public XmlDsigC14NTransform(
	bool includeComments


Type: System.Boolean

true to include comments; otherwise, false.

The following code example demonstrates how to use the XmlDsigC14NTransform constructor. This code example is part of a larger example provided for the XmlDsigC14NTransform class.

XmlDsigC14NTransform xmlTransform = 
    new XmlDsigC14NTransform(true);

.NET Framework
Available since 1.1
Return to top