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 .

备注

资源的值进行本地化根据呼叫者的当前区域性设置。如果不可能匹配项,则返回空引用。

另请参阅

引用

Resources 类

Resources 成员

GetString 重载

Microsoft.SharePoint.Client 命名空间