SPUtility.IsDesignTimeRender-Methode
Gibt an, ob die aktuelle Anforderung in einem Entwurfszeit-Kontext ausgeführt wird. In der Regel deshalb, weil ein Web Service-Aufruf durch ein Microsoft SharePoint Foundation erfolgt-kompatiblen Editor, z. B. Microsoft SharePoint Designer 2010.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function IsDesignTimeRender As Boolean
'Usage
Dim returnValue As Boolean
returnValue = SPUtility.IsDesignTimeRender()
public static bool IsDesignTimeRender()
Rückgabewert
Typ: System.Boolean
true , wenn die Anforderung in eine Entwurfszeit-Kontext ausgeführt wird; andernfalls false.