參數Parameters

Parameters 指定要加入引數CustomPowerApplication2Parameters specifies the arguments to add to CustomPowerApplication2.

這是選用設定。This setting is optional.

Values

參數Parameters

指定要執行指定的應用程式時使用的引數CustomPowerApplication2Specifies the arguments to use when running the application specified by CustomPowerApplication2.

參數是一個字串。Parameters is a string.

此字串類型支援空元素。This string type supports empty elements.

有效的設定階段Valid Configuration Passes

將一般化generalize

特製化specialize

父階層Parent Hierarchy

Microsoft-Windows-stobject | CustomPowerApplication2 | ParametersMicrosoft-Windows-stobject | CustomPowerApplication2 | Parameters

套用至Applies To

如需支援的 Windows 版本和架構,此元件支援的清單,請參閱Microsoft-Windows-stobjectFor the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-stobject.

XML 範例XML Example

下列 XML 輸出中會顯示CustomPowerApplication2Application.exe 與parameter -paramThe following XML output shows CustomPowerApplication2 Application.exe with parameter -param. IconIDItemName都會納入.resource.dll。IconID and ItemName are included in Resource.dll.

<CustomPowerApplication2>
   <Application>C:\Program Files\CustomPower\Application.exe</Application>
   <IconID>@%ProgramFiles%\Microsoft Shared\Resource.dll,-200</IconID>
   <ItemName>%ProgramFiles%\Microsoft Shared\Resource.dll,-100</ItemName>
   <Parameters>-param</Parameters>
</CustomPowerApplication2>

CustomPowerApplication2CustomPowerApplication2