Partager via


UrlTag Constructor

Create a new tag with the given URL.

Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Public Sub New ( _
    url As Uri _
)
public UrlTag(
    Uri url
)
public:
UrlTag(
    Uri^ url
)
new : 
        url:Uri -> UrlTag
public function UrlTag(
    url : Uri
)

Parameters

  • url
    Type: Uri

    The URL.

Exceptions

Exception Condition
ArgumentNullException

Thrown if url is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

UrlTag Class

Microsoft.VisualStudio.Text.Tagging Namespace