Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.