Partager via


AreaCollection.AddArea, méthode (String) (Microsoft.SharePoint.Portal.SiteData)

Adds an area.

Espace de noms : Microsoft.SharePoint.Portal.SiteData
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public Function AddArea ( _
    strCatName As String _
) As Area
'Utilisation
Dim instance As AreaCollection
Dim strCatName As String
Dim returnValue As Area

returnValue = instance.AddArea(strCatName)
public Area AddArea (
    string strCatName
)

Paramètres

  • strCatName
    The name of the area to be added.

Valeur de retour

The Area object that is added.

Remarques

Use the default area template SPSTOPIC.

Voir aussi

Référence

AreaCollection, classe
Membres AreaCollection
Microsoft.SharePoint.Portal.SiteData, espace de noms