Gets a string from the specified assembly.
Namespace:
Microsoft.ConfigurationManagement.AdminConsole.Common
Assembly:
Microsoft.ConfigurationManagement.ManagementProvider (in
microsoft.configurationmanagement.managementprovider.dll)
Usage
Visual Basic |
Dim assemblyDescription As AssemblyDescription
Dim resourceName As String
Dim returnValue As String
returnValue = UtilityClass.GetStringFromAssembly(assemblyDescription, resourceName)
|
Syntax
Visual Basic |
Public Shared Function GetStringFromAssembly ( _
assemblyDescription As AssemblyDescription, _
resourceName As String _
) As String
|
C# |
public static string GetStringFromAssembly (
AssemblyDescription assemblyDescription,
string resourceName
)
|
C++ |
public:
static String^ GetStringFromAssembly (
AssemblyDescription^ assemblyDescription,
String^ resourceName
)
|
J# |
public static String GetStringFromAssembly (
AssemblyDescription assemblyDescription,
String resourceName
)
|
JScript |
public static function GetStringFromAssembly (
assemblyDescription : AssemblyDescription,
resourceName : String
) : String
|
Parameters
- assemblyDescription
-
[in]
AssemblyDescription object that defines an assembly.
- resourceName
-
[in] Name of a resource for the assembly.
Return Value
Retrieved string.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2003,Windows Vista
See Also