CxmlCollectionSource Constructor (Uri)

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

Initializes a new instance of the CxmlCollectionSource class. and initializes it with the contents of the CXML file located at the specified Uri.

Namespace:  System.Windows.Controls.Pivot
Assembly:  System.Windows.Controls.Pivot (in System.Windows.Controls.Pivot.dll)

Syntax

'Declaration
Public Sub New ( _
    uri As Uri _
)
public CxmlCollectionSource(
    Uri uri
)

Parameters

  • uri
    Type: System.Uri
    The location of the CXML file.

Exceptions

Exception Condition
ArgumentNullException

uri is null.

Version Information

Silverlight

Supported in: 5

Platforms

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