共用方式為


BaseXsltListWebPart.ContextView property

取得目前內容中的SPView

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Protected Overrides ReadOnly Property ContextView As SPView
    Get
'用途
Dim value As SPView

value = Me.ContextView
protected override SPView ContextView { get; }

Property value

Type: Microsoft.SharePoint.SPView
SPView 目前內容中。

請參閱

參照

BaseXsltListWebPart class

BaseXsltListWebPart members

Microsoft.SharePoint.WebPartPages namespace