Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Specifies custom information about the component, which varies based on FileContentType.
<VSContent>
<Content>
<Attributes>
<Attributes>
<Attribute>...</Attribute>
</Attributes>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
None.
Child Elements
Element |
Description |
|---|---|
Attribute |
Required. Specifies optional information about a component, such as programming language. |
Parent Elements
Element |
Description |
|---|---|
Content |
Groups content in a .vscontent file. |
Remarks
Attributes is an optional element.
Example
The following example shows the metadata for a project template community content component.
<VSContent xmlns="https://schemas.microsoft.com/developer/vscontent/2005">
<Content>
<FileName>MyProjectTemplate.zip</FileName>
<DisplayName>Sample Project Template</DisplayName>
<Description>A project template created for this example.</Description>
<FileContentType>VSTemplate</FileContentType>
<ContentVersion>2.0</ContentVersion>
<Attributes>
<Attribute name="ProjectType" value="Visual Basic"/>
<Attribute name="ProjectSubType" value=""/>
<Attribute name="TemplateType" value="Project"/>
</Attributes>
</Content>
</VSContent>