共用方式為


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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