共用方式為


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

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

Property Value

Type: 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.

.NET Framework Security

See Also

Reference

ITestAttachment Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace