從附屬組件傳回資源字串。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.UI
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Public Shared Function GetResourceString ( _
resourceName As String _
) As String
public static string GetResourceString(
string resourceName
)
public:
static String^ GetResourceString(
String^ resourceName
)
static member GetResourceString :
resourceName:string -> string
public static function GetResourceString(
resourceName : String
) : String
參數
- resourceName
型別:System.String
資源的名稱。
傳回值
型別:System.String
資源的值。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。