Share via


ContextSelector<T>.Key Property

Gets the item identifier (ID) from the ViewState collection.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property Key As String
    Get
'Usage
Dim value As String

value = Me.Key
protected virtual string Key { get; }

Property Value

Type: System.String
A string that specifies the item ID from the ViewState collection.

See Also

Reference

ContextSelector<T> Class

ContextSelector<T> Members

Microsoft.SharePoint.WebControls Namespace