共用方式為


Resources.GetString 方法 (String)

傳回指定的String資源的值。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight.Runtime (在 Microsoft.SharePoint.Client.Silverlight.Runtime.dll 中);  Microsoft.SharePoint.Client.Phone.Runtime (在 Microsoft.SharePoint.Client.Phone.Runtime.dll 中)  Microsoft.SharePoint.Client.Runtime (在 Microsoft.SharePoint.Client.Runtime.dll 中)

語法

'宣告
Public Shared Function GetString ( _
    resourceId As String _
) As String
'用途
Dim resourceId As String
Dim returnValue As String

returnValue = Resources.GetString(resourceId)
public static string GetString(
    string resourceId
)

參數

傳回值

類型:System.String
String .

備註

根據目前文化特性設定來電者當地語系化資源的值。如果無法相符,則會傳回 null 參考。

請參閱

參照

Resources 類別

Resources 成員

GetString 多載

Microsoft.SharePoint.Client 命名空間