Share via


UriDataAttachment Constructor

Initializes a new instance of the UriDataAttachment class by using the description and URI.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    description As String, _
    uri As Uri _
)
public UriDataAttachment(
    string description,
    Uri uri
)
public:
UriDataAttachment(
    String^ description, 
    Uri^ uri
)
new : 
        description:string * 
        uri:Uri -> UriDataAttachment
public function UriDataAttachment(
    description : String, 
    uri : Uri
)

Parameters

  • description
    Type: String

    Short description for the attachment.

  • uri
    Type: Uri

    The URI that points to the resource.

.NET Framework Security

See Also

Reference

UriDataAttachment Class

Microsoft.VisualStudio.TestTools.Common Namespace