CommunicationMessagesModelFactory.LinkContent(String, Uri) 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.
Initializes a new instance of LinkContent.
public static Azure.Communication.Messages.LinkContent LinkContent(string title = default, Uri uri = default);
static member LinkContent : string * Uri -> Azure.Communication.Messages.LinkContent
Public Shared Function LinkContent (Optional title As String = Nothing, Optional uri As Uri = Nothing) As LinkContent
Parameters
- title
- String
Title of the url content.
- uri
- Uri
The url in the content.
Returns
A new LinkContent instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET