Share via


ContextSelector<T>.GetItem Method

Gets an object of generic type that represents the current item when implemented in a derived class.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Protected MustOverride Function GetItem As T
'Usage
Dim returnValue As T

returnValue = Me.GetItem()
protected abstract T GetItem()

Return Value

Type: T
An object of generic type that represents the current item.

See Also

Reference

ContextSelector<T> Class

ContextSelector<T> Members

Microsoft.SharePoint.WebControls Namespace