共用方式為


SPResource.GetString method (String, Object[])

取得具有指定的名稱和值的當地語系化的字串。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Shared Function GetString ( _
    name As String, _
    ParamArray values As Object() _
) As String
'用途
Dim name As String
Dim values As Object()
Dim returnValue As String

returnValue = SPResource.GetString(name, _
    values)
public static string GetString(
    string name,
    params Object[] values
)

參數

  • values
    Type: []

    與資源相關聯的值。

傳回值

Type: System.String
當地語系化的字串。

請參閱

參照

SPResource class

SPResource members

GetString overload

Microsoft.SharePoint namespace