Share via


XmlDictionaryReader.StartCanonicalization Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

This method is not supported in this class. It may be implemented in a derived class.

Namespace:  System.Xml
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

Syntax

'Declaration
Public Overridable Sub StartCanonicalization ( _
    stream As Stream, _
    includeComments As Boolean, _
    inclusivePrefixes As String() _
)
public virtual void StartCanonicalization(
    Stream stream,
    bool includeComments,
    string[] inclusivePrefixes
)

Parameters

  • includeComments
    Type: System.Boolean
    Determines whether comments are included.
  • inclusivePrefixes
    Type: array<System.String[]
    The prefixes to be included.

Exceptions

Exception Condition
NotSupportedException

Always.

Remarks

Start reading the canonical octets of the XML being read to this reader from the supplied stream until the matching EndCanonicalization call is made. The content read from the main reader stream is unaffected by this call. includeComments defines whether comments are to be included in the canonical input and inclusivePrefixes provides the list of prefixes to be treated as inclusive prefixes with the exclusive canonicalization algorithm.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.