Attachment Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Meta data for a file attached to an artifact.
[System.Runtime.Serialization.DataContract]
public class Attachment : Microsoft.VisualStudio.Services.WebApi.ISecuredObject
type Attachment = class
interface ISecuredObject
Public Class Attachment
Implements ISecuredObject
- Inheritance
-
Attachment
- Attributes
- Implements
-
Microsoft.VisualStudio.Services.WebApi.ISecuredObject
Constructors
| Name | Description |
|---|---|
| Attachment() | |
| Attachment(String) | |
Properties
| Name | Description |
|---|---|
| Author |
The person that uploaded this attachment. |
| ContentHash |
Content hash of on-disk representation of file content. Its calculated by the server by using SHA1 hash function. |
| CreatedDate |
The time the attachment was uploaded. |
| Description |
The description of the attachment. |
| DisplayName |
The display name of the attachment. Can't be null or empty. |
| Id |
Id of the attachment. |
| Links |
Links to other related objects. |
| Properties |
Extended properties. |
| Url |
The url to download the content of the attachment. |
Explicit Interface Implementations
| Name | Description |
|---|---|
| ISecuredObject.GetToken() | |
| ISecuredObject.NamespaceId | |
| ISecuredObject.RequiredPermissions | |