SPUtility.FormatStringWithListType method (String, SPList, Boolean)
格式字串插入會對應至清單SPBaseType,選擇性地將類型名稱轉換成小寫的名稱。
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function FormatStringWithListType ( _
format As String, _
list As SPList, _
bInLowerCase As Boolean _
) As String
'用途
Dim format As String
Dim list As SPList
Dim bInLowerCase As Boolean
Dim returnValue As String
returnValue = SPUtility.FormatStringWithListType(format, _
list, bInLowerCase)
public static string FormatStringWithListType(
string format,
SPList list,
bool bInLowerCase
)
參數
format
Type: System.String要格式化的字串。
list
Type: Microsoft.SharePoint.SPList其類型名稱插入清單。
bInLowerCase
Type: System.Booleantrue轉換為小寫 ;否則,請false。
傳回值
Type: System.String
格式化的字串。