<>在 Visual Studio) 中 (Office 開發的 friendlyName 元素<friendlyName> element (Office development in Visual Studio)
friendlyName
命名空間的 vstov4
項目會儲存已安裝的程式清單中顯示的名稱。The friendlyName
element of the vstov4
namespace stores the name that appears in the list of installed programs.
語法Syntax
<friendlyName>
</friendlyName>
元素和屬性Elements and attributes
friendlyName
元素位於 vstov4
命名空間。The friendlyName
element is in the vstov4
namespace. 電腦上的已安裝程式清單和 Microsoft Office 應用程式的 [COM VSTO 增益集] 對話方塊中會顯示值。The value appears in the list of installed programs on the computer, and in the COM VSTO Add-ins dialog box of Microsoft Office applications.
friendlyName
項目沒有屬性或子項目。The friendlyName
element has no attributes or child elements.
VSTO 增益集範例VSTO Add-in example
說明Description
下列程式碼範例說明使用 friendlyName
部署之應用程式層級方案中的 ClickOnceClickOnce項目。The following code example illustrates the friendlyName
element in an application-level solution deployed by using ClickOnceClickOnce. 這個程式碼範例是 Office 方案的應用程式資訊清單中所提供之較大範例的一部分。This code example is part of a larger example provided in Application manifests for Office solutions.
程式碼Code
<vstov4:friendlyName>
ContosoOutlookAddIn
</vstov4:friendlyName>