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: System.Uri
The URL.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if url is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.