Share via


Author Element (IntelliSense Code Snippets)

Specifies the name of the snippet author.

<CodeSnippets>
   <CodeSnippet>
     <Header>
       <Author>

<Author>
   Code Snippet Author
</Author>

Attributes and Elements

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

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

Header

Contains general information about the code snippet.

Text Value

A text value is required.

This text specifies the author of the code snippet.

Remarks

The Code Snippets Manager displays the code snippet name stored in the Author element of the code snippet.

Example

The Author element of the following code snippet contains the value Microsoft Corporation. The author's name appears in the description of the code snippet in the Code Snippets Manager.

<CodeSnippets xmlns="https://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
    <CodeSnippet Format="1.0.0">
        <Header>
            <Title>Copy File</Title>
            <Author>Microsoft Corporation</Author>
            <Description>Copies a file and saves it as another file.</Description>
            <HelpUrl>www.microsoft.com</HelpUrl>
            <SnippetTypes>
                <SnippetType>Expansion</SnippetType>
            </SnippetTypes>
            <Keywords>
                 <Keyword>File copying</Keyword>
                 <Keyword>Copying files</Keyword>
            </Keywords>
            <Shortcut>copyfile</Shortcut>
        </Header>
        <Snippet>
            <!-- Insert snippet information here -->
        </Snippet>
    </CodeSnippet>
</CodeSnippets>

See Also

Concepts

Code Snippets Schema Reference