从附属程序集返回资源字符串。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.UI
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Public Shared Function GetResourceString ( _
resourceId As Integer _
) As String
public static string GetResourceString(
int resourceId
)
public:
static String^ GetResourceString(
int resourceId
)
static member GetResourceString :
resourceId:int -> string
public static function GetResourceString(
resourceId : int
) : String
参数
- resourceId
类型:System.Int32
资源 ID
返回值
类型:System.String
资源值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。