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