SPSite.OpenWeb - Méthode (Guid)

Returns the Web site with the specified GUID.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
Public Function OpenWeb ( _
    gWebId As Guid _
) As SPWeb
'Utilisation
Dim instance As SPSite
Dim gWebId As Guid
Dim returnValue As SPWeb

returnValue = instance.OpenWeb(gWebId)
public SPWeb OpenWeb(
    Guid gWebId
)

Paramètres

  • gWebId
    Type : System.Guid

    A GUID that specifies which Web site to return.

Valeur renvoyée

Type : Microsoft.SharePoint.SPWeb
An SPWeb object that represents the Web site.

Voir aussi

Référence

SPSite classe

SPSite - Membres

OpenWeb - Surcharge

Microsoft.SharePoint - Espace de noms