Share via


(Guid) del método SPSite.OpenWeb

Returns the Web site with the specified GUID.

Espacio de nombres:  Microsoft.SharePoint
Ensamblado:  Microsoft.SharePoint (en Microsoft.SharePoint.dll)

Sintaxis

'Declaración
Public Function OpenWeb ( _
    gWebId As Guid _
) As SPWeb
'Uso
Dim instance As SPSite
Dim gWebId As Guid
Dim returnValue As SPWeb

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

Parámetros

  • gWebId
    Tipo: System.Guid

    A GUID that specifies which Web site to return.

Valor devuelto

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

Vea también

Referencia

clase SPSite

Miembros SPSite

Sobrecarga OpenWeb

Espacio de nombres Microsoft.SharePoint