# ConfluenceAttachmentStreamUpload

Streaming attachment data for Confluence's multipart upload endpoint.

Class 

`OfficeIMO.Confluence`

**Namespace**

`OfficeIMO.Confluence`

**Assembly**

`OfficeIMO.Confluence`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ConfluenceAttachments.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L62)

**Modifiers**

sealed

Streaming attachment data for Confluence's multipart upload endpoint.

## Inheritance

- object
- ConfluenceAttachmentStreamUpload

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [ConfluenceClient.UploadAttachmentAsync](/api/confluence/officeimo-confluence-confluenceclient/#method-uploadattachmentasync-string-officeimo-confluence-confluenceattachmentstreamupload-threading-cancellationtoken) parameter `upload`

Filter members 

Show inherited

## Constructors

`public ConfluenceAttachmentStreamUpload()` [#](#constructor-ctor)

[ConfluenceAttachments.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L62)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string FileName { get; set; }` [#](#property-filename)

[ConfluenceAttachments.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L62)

Gets or sets the required file name sent in the multipart upload.

`public string ContentType { get; set; }` [#](#property-contenttype)

[ConfluenceAttachments.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L64)

Gets or sets the file media type; a blank value is sent as application/octet-stream.

`public Stream Content { get; set; }` [#](#property-content)

[ConfluenceAttachments.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L66)

Gets or sets the readable stream sent from its current position. Ownership remains with the caller.

`public string? Comment { get; set; }` [#](#property-comment)

[ConfluenceAttachments.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L68)

Gets or sets an optional attachment comment, omitted when blank.

`public bool MinorEdit { get; set; }` [#](#property-minoredit)

[ConfluenceAttachments.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Confluence/ConfluenceAttachments.cs#L70)

Gets or sets whether the upload is marked as a minor edit; defaults to true.

<!-- PowerForge markdown artifact sha256:735E650FD6EFFD62F2D8BFB4762207AD08A0EA00545342C45F17FB2E08C3950B -->
