TeamsClient.MoveSectionItemAsync Method
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.
Move a section item
public virtual System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionItemResponse> MoveSectionItemAsync(string sectionId, string sectionItemId, Azure.Connectors.Sdk.Teams.Models.MoveSectionItemInput input, System.Threading.CancellationToken cancellationToken = default);
abstract member MoveSectionItemAsync : string * string * Azure.Connectors.Sdk.Teams.Models.MoveSectionItemInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionItemResponse>
override this.MoveSectionItemAsync : string * string * Azure.Connectors.Sdk.Teams.Models.MoveSectionItemInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Connectors.Sdk.Teams.Models.SectionItemResponse>
Public Overridable Function MoveSectionItemAsync (sectionId As String, sectionItemId As String, input As MoveSectionItemInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SectionItemResponse)
Parameters
- sectionId
- String
Section ID
- sectionItemId
- String
Section Item ID
- input
- MoveSectionItemInput
The request body.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Move a section item response.
Remarks
Atomically moves an item from one user-defined teamwork section to another user-defined section. Each item can belong to only one section at a time. This action removes the item from its current section and adds it to the target section.