Description 項目 (Visual Studio 內容安裝程式)

指定會出現在 Visual Studio 內容安裝程式內,用以描述元件的工具提示文字。

<Description>   </Description>

屬性和項目

下列章節會說明屬性、子項目和父項目。

屬性

無。

子項目

無。

父項目

項目

描述

內容

群組成 .vscontent 檔案中的內容。

備註

Description 是必要項目。

範例

下列範例將顯示巨集社群內容元件的中繼資料 (Metadata)。

<VSContent xmlns="https://schemas.microsoft.com/developer/vscontent/2005">
    <Content>
        <FileName>MyMacroProject.vsmacros</FileName>
        <DisplayName>My Macro Project</DisplayName>
        <Description> A macro project created for this example.</Description>
        <FileContentType>Macro Project</FileContentType>
        <ContentVersion>1.0</ContentVersion>
    </Content>
</VSContent>

請參閱

參考

Visual Studio 內容安裝程式結構描述參考