(WebPart, Boolean) del método SPWebPartCollection.Add
NOTA: esta API está ahora obsoleta.
Obsoleta.
Espacio de nombres: Microsoft.SharePoint
Ensamblado: Microsoft.SharePoint (en Microsoft.SharePoint.dll)
Sintaxis
'Declaración
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Public Function Add ( _
webPart As WebPart, _
throwIfLocked As Boolean _
) As Guid
'Uso
Dim instance As SPWebPartCollection
Dim webPart As WebPart
Dim throwIfLocked As Boolean
Dim returnValue As Guid
returnValue = instance.Add(webPart, throwIfLocked)
[ObsoleteAttribute("Use SPLimitedWebPartManager instead.")]
public Guid Add(
WebPart webPart,
bool throwIfLocked
)
Parámetros
- webPart
Tipo: System.Web.UI.WebControls.WebParts.WebPart
- throwIfLocked
Tipo: System.Boolean
Valor devuelto
Tipo: System.Guid