Export (0) Print
Expand All

Url Element (IntelliSense Code Snippets)

Specifies a URL that provides more information about the referenced assembly.

<CodeSnippets>
   <CodeSnippet>
     <Snippet>
       <References>
         <Reference>
           <Url>
<Url>
    www.microsoft.com
</Url>

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

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

Reference

Specifies the assembly references required by the code snippet.

A text value is required.

This text specifies a URL with more information about the referenced assembly. This URL is displayed when the reference cannot be added to the project.

The Url element is only supported for Visual Basic projects.

The Url element in the following example contains the value http://www.microsoft.com. This URL contains more information about the System.Data.dll assembly.

<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
    <CodeSnippet Format="1.0.0">
        <Header>
            <!-- Insert Header information here -->
        </Header>
        <Snippet>
            <References>
                <Reference>
                    <Assembly>System.Data.dll</Assembly>
                    <Url>www.microsoft.com</Url>
                </Reference>
            </References>
            <Declarations>
                <!-- Insert literal and object declarations here. -->
            </Declarations>
            <Code Language="VB">
                <!-- Insert code here. -->
            </Code>
        </Snippet>
    </CodeSnippet>
</CodeSnippets>
Show:
© 2014 Microsoft