共用方式為


SPContext.RenderingFromCurrentMetainfo Property

Gets a value that indicates whether page rendering optimizations are in effect for the current context.

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

Syntax

'Declaration
Public Shared Property RenderingFromCurrentMetainfo As Boolean
    Get
    Set
'Usage
Dim value As Boolean

value = SPContext.RenderingFromCurrentMetainfo

SPContext.RenderingFromCurrentMetainfo = value
public static bool RenderingFromCurrentMetainfo { get; set; }

Property Value

Type: System.Boolean
true if page rendering optimizations are in effect; otherwise, false.

See Also

Reference

SPContext Class

SPContext Members

Microsoft.SharePoint Namespace