Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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>

Community Additions

ADD
Show:
© 2015 Microsoft