共用方式為


ContextSelector<T>.CurrentId Property

Gets or sets the AdminKeys.CurrentID of the current ViewState object.

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

Syntax

'Declaration
Public Property CurrentId As String
    Get
    Set
'Usage
Dim instance As ContextSelector
Dim value As String

value = instance.CurrentId

instance.CurrentId = value
public string CurrentId { get; set; }

Property Value

Type: System.String
A string that specifies the AdminKeys.CurrentID property of the current ViewState object.

See Also

Reference

ContextSelector<T> Class

ContextSelector<T> Members

Microsoft.SharePoint.WebControls Namespace