SPWebListInfo.Type property

Indicates whether the parent object is a List or a Web site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Type As SPObjectType
    Get
    Private Set
'Usage
Dim instance As SPWebListInfo
Dim value As SPObjectType

value = instance.Type
public SPObjectType Type { get; private set; }

Property value

Type: Microsoft.SharePoint.SPObjectType
A SPObjectType indicating Web or List.

See also

Reference

SPWebListInfo class

SPWebListInfo members

Microsoft.SharePoint namespace