SPResource.GetVersionedString15 method (CultureInfo, String, Object[])
如果目前的 compatibilityLevel 是大於或等於 15,使用 name_15。這個方法是保留供內部使用,並不適合直接從您的程式碼使用。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function GetVersionedString15 ( _
culture As CultureInfo, _
name As String, _
ParamArray values As Object() _
) As String
'用途
Dim culture As CultureInfo
Dim name As String
Dim values As Object()
Dim returnValue As String
returnValue = SPResource.GetVersionedString15(culture, _
name, values)
public static string GetVersionedString15(
CultureInfo culture,
string name,
params Object[] values
)
參數
culture
Type: System.Globalization.CultureInfo資源的文化特性。
- name
Type: System.String
values
Type: []與資源相關聯的值。
傳回值
Type: System.String
當地語系化的字串。