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
web
Type: Microsoft.SharePoint.SPWebThe parent website of the list.
listTitle
Type: System.StringThe title of the list.
Return Value
Type: System.String
A name for the list entity.