IRuntimeFilter.CheckRuntimeRender method
NOTE: This API is now obsolete.
表示是否要 [網頁組件呈現在頁面上。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
<ObsoleteAttribute("Use IRuntimeFilter2 instead.")> _
Function CheckRuntimeRender ( _
IsIncludedFilter As String _
) As Boolean
'用途
Dim instance As IRuntimeFilter
Dim IsIncludedFilter As String
Dim returnValue As Boolean
returnValue = instance.CheckRuntimeRender(IsIncludedFilter)
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[ObsoleteAttribute("Use IRuntimeFilter2 instead.")]
bool CheckRuntimeRender(
string IsIncludedFilter
)
參數
IsIncludedFilter
Type: System.String儲存用來判斷是否會在頁面上包含 [網頁組件的 IRuntimeFilter 介面的參數。
傳回值
Type: System.Boolean
布林值,指出是否將呈現網頁組件。true如果 [網頁組件會包含一頁。否則, false。
備註
CheckRuntimeRender方法才有效呼叫在個人化模式中時。不會在自訂模式時呼叫。此外, CheckRuntimeRender方法只會針對全域的 Web 組件呼叫。全域的 Web 組件是 Web 組件自訂模式中所建立的使用者尚未個人化 [網頁組件。