共用方式為


Utility.ConvertListTitleToEntitySetName Method

Converts a list name into an entity name.

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

Syntax

'Declaration
Public Shared Function ConvertListTitleToEntitySetName ( _
    web As SPWeb, _
    listTitle As String _
) As String
'Usage
Dim web As SPWeb
Dim listTitle As String
Dim returnValue As String

returnValue = Utility.ConvertListTitleToEntitySetName(web, _
    listTitle)
public static string ConvertListTitleToEntitySetName(
    SPWeb web,
    string listTitle
)

Parameters

Return Value

Type: System.String
A name for the list entity.

See Also

Reference

Utility Class

Utility Members

Microsoft.SharePoint.Linq Namespace