共用方式為


ITestAttachment.Uri Property

 

Gets the URI to retrieve the contents of the attachment.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

Uri Uri { get; }
property Uri^ Uri {
    Uri^ get();
}
abstract Uri : Uri with get
ReadOnly Property Uri As Uri

Property Value

Type: System.Uri

The URI to retrieve the contents.

Remarks

If the attachment has not yet been uploaded, the URI is a "file://..." path. After it has been uploaded, the URI is the path to use to download the attachment from the server.

See Also

ITestAttachment Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top