 | TaskServiceGetDllResourceString Method |
Gets a formatted string that tells the Task Scheduler to retrieve a string from a resource .dll file.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic static string GetDllResourceString(
string dllPath,
int resourceId
)
Public Shared Function GetDllResourceString (
dllPath As String,
resourceId As Integer
) As String
public:
static String^ GetDllResourceString(
String^ dllPath,
int resourceId
)
Request Example
View SourceParameters
- dllPath
- Type: SystemString
The path to the .dll file that contains the resource. - resourceId
- Type: SystemInt32
The identifier for the resource text (typically a negative number).
Return Value
Type:
StringA string in the format of $(@ [dllPath], [resourceId]).
Examples
For example, the setting this property value to $(@ %SystemRoot%\System32\ResourceName.dll, -101) will set the property to the
value of the resource text with an identifier equal to -101 in the %SystemRoot%\System32\ResourceName.dll file.
See Also