TeamsAttachmentBuilder.WithProperty(String, Object) 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.
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