Share via


DisplayName Element (Visual Studio Content Installer)

Specifies the name that will be displayed in the Visual Studio Content Installer for the component.

<VSContent>
   <Content>
     <FileName>
       <DisplayName>

<DisplayName>   </DisplayName>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

Content

Groups content in a .vscontent file.

Remarks

DisplayName is a required element.

Example

The following example shows the metadata for a macro community content component.

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

See Also

Reference

Visual Studio Content Installer Schema Reference