返回指定的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
)
参数
resourceId
类型:System.StringString对象,表示要检索的资源的名称。
返回值
类型:System.String
String .
备注
资源的值进行本地化根据呼叫者的当前区域性设置。如果不可能匹配项,则返回空引用。