项 (microsoft-windows-stobject-custompowerapplication6) -)ItemName (microsoft-windows-stobject-custompowerapplication6-itemname)

ItemNameCustomPowerApplication6的显示名称。ItemName is the display name of CustomPowerApplication6.

若要为 ItemName 每种语言使用其他语言,请创建一个资源文件,并使用以下格式引用它: "filename.dll,-referenceid"。To use a different ItemName for each language, create a resource file, and refer to it using the format: "filename.dll,-referenceid". 有关为此设置创建本地化文本版本的信息,请参阅主题将 MUI 与应用程序配合使用For information on creating localized text versions for this setting, see the topic Using the MUI with Applications.

Values

名称Name

指定要用于 CustomPowerApplication6的显示名称。Specifies the display name to use for CustomPowerApplication6.

ItemName 表示为 @ dllname,即resourceid,其中 DLLNAME 是资源 DLL 的完整路径,包括环境变量。ItemName is represented as @dllname,-resourceid, where dllname is the full path to the resource DLL, including environment variables. 例如,For example,

@%ProgramFiles%\Microsoft Shared\Resource.dll,-100

Name 是一个字符串。Name is a string.

该字符串类型支持空元素。This string type supports empty elements.

有效的配置阶段Valid Configuration Passes

generalizegeneralize

specializespecialize

父层次结构Parent Hierarchy

Microsoft-microsoft-windows-stobject | CustomPowerApplication6 | "Microsoft-Windows-stobject | CustomPowerApplication6 | ItemName

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 microsoft-windows-stobjectFor a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-stobject.

XML 示例XML Example

下面的 XML 输出显示了 CustomPowerApplication6 Application.exe parameter -paramThe following XML output shows CustomPowerApplication6 Application.exe with parameter -param. IconIDItemName 包括在 Resource.dll 文件中。IconID and ItemName included in the Resource.dll file.

<CustomPowerApplication6>
   <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>
</CustomPowerApplication6>

CustomPowerApplication6CustomPowerApplication6