AreaCollection.AddArea Method (String)
NOTE: This API is now obsolete.
Adds an area.
Namespace: Microsoft.SharePoint.Portal.SiteData
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Function AddArea ( _
strCatName As String _
) As Area
'Usage
Dim instance As AreaCollection
Dim strCatName As String
Dim returnValue As Area
returnValue = instance.AddArea(strCatName)
[ObsoleteAttribute("This class is obsolete.")]
public Area AddArea(
string strCatName
)
Parameters
- strCatName
Type: System.String
The name of the area to be added.
Return Value
Type: Microsoft.SharePoint.Portal.SiteData.Area
The Area object that is added.
Remarks
Use the default area template SPSTOPIC.