TeamsAttachment.CreateBuilder 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.
Overloads
| Name | Description |
|---|---|
| CreateBuilder() |
Creates a builder for constructing a TeamsAttachment instance. |
| CreateBuilder(TeamsAttachment) |
Creates a builder initialized with an existing TeamsAttachment instance. |
CreateBuilder()
Creates a builder for constructing a TeamsAttachment instance.
public static Microsoft.Teams.Apps.Schema.TeamsAttachmentBuilder CreateBuilder();
static member CreateBuilder : unit -> Microsoft.Teams.Apps.Schema.TeamsAttachmentBuilder
Public Shared Function CreateBuilder () As TeamsAttachmentBuilder
Returns
Applies to
CreateBuilder(TeamsAttachment)
Creates a builder initialized with an existing TeamsAttachment instance.
public static Microsoft.Teams.Apps.Schema.TeamsAttachmentBuilder CreateBuilder(Microsoft.Teams.Apps.Schema.TeamsAttachment attachment);
static member CreateBuilder : Microsoft.Teams.Apps.Schema.TeamsAttachment -> Microsoft.Teams.Apps.Schema.TeamsAttachmentBuilder
Public Shared Function CreateBuilder (attachment As TeamsAttachment) As TeamsAttachmentBuilder
Parameters
- attachment
- TeamsAttachment
The attachment to wrap.