Aracılığıyla paylaş


CxmlCollectionSource.GetItemById Method

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

Gets the PivotViewerItem in this CxmlCollectionSource with the specified id.

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

Syntax

'Declaration
Public Function GetItemById ( _
    id As String _
) As PivotViewerItem
public PivotViewerItem GetItemById(
    string id
)

Parameters

Return Value

Type: System.Windows.Controls.Pivot.PivotViewerItem
The PivotViewerItem in this CxmlCollectionSource with the specified id.

Exceptions

Exception Condition
ArgumentNullException

Id 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.