SPContext.GetCachedWeb - Méthode
Récupère un site web qui a été mis en cache pour ce contexte.
Espace de noms : Microsoft.SharePoint
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Function GetCachedWeb ( _
key As String _
) As SPWeb
'Utilisation
Dim instance As SPContext
Dim key As String
Dim returnValue As SPWeb
returnValue = instance.GetCachedWeb(key)
public SPWeb GetCachedWeb(
string key
)
Paramètres
key
Type : System.StringLa clé spécifiée lors de la mise en cache web.
Valeur renvoyée
Type : Microsoft.SharePoint.SPWeb
Un site web qui a été mis en cache pour ce contexte