SPResource.GetVersionedString15 method (SPSite, CultureInfo, String, Object[])
if site's compatibilityLevel is greater or equal to 15, use name_15. This method is reserved for internal use and is not intended to be used directly from your code.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetVersionedString15 ( _
site As SPSite, _
culture As CultureInfo, _
name As String, _
ParamArray values As Object() _
) As String
'Usage
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
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteThe SPSite that hosts the resource.
culture
Type: System.Globalization.CultureInfoThe culture for the resource.
- name
Type: System.String
values
Type: []The values associated with the resource.
Return value
Type: System.String
The localized string.