共用方式為


BaseXsltListWebPart.ContextView Property

Gets the SPView in the current context.

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

Syntax

'Declaration
Protected Overrides ReadOnly Property ContextView As SPView
    Get
'Usage
Dim value As SPView

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

Property Value

Type: Microsoft.SharePoint.SPView
The SPView in the current context.

See Also

Reference

BaseXsltListWebPart Class

BaseXsltListWebPart Members

Microsoft.SharePoint.WebPartPages Namespace