Language

TeamsAttachmentBuilder.WithProperty(String, Object) Method

Definition

Adds or updates an extension property on the attachment. Passing a null value removes the property.

public Microsoft.Teams.Apps.Schema.TeamsAttachmentBuilder WithProperty(string propertyName, object? value);
member this.WithProperty : string * obj -> Microsoft.Teams.Apps.Schema.TeamsAttachmentBuilder
Public Function WithProperty (propertyName As String, value As Object) As TeamsAttachmentBuilder

Parameters

propertyName
String
value
Object

Returns

Applies to