ShareTextRequest Constructors
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
ShareTextRequest() |
Initializes a new instance of the ShareTextRequest class. |
ShareTextRequest(String) |
Initializes a new instance of the ShareTextRequest class with the given text. |
ShareTextRequest(String, String) |
Initializes a new instance of the ShareTextRequest class with the given text and title. |
ShareTextRequest()
- Source:
- Share.shared.cs
- Source:
- Share.shared.cs
Initializes a new instance of the ShareTextRequest class.
public:
ShareTextRequest();
public ShareTextRequest ();
Public Sub New ()
Applies to
ShareTextRequest(String)
- Source:
- Share.shared.cs
- Source:
- Share.shared.cs
Initializes a new instance of the ShareTextRequest class with the given text.
public:
ShareTextRequest(System::String ^ text);
public ShareTextRequest (string text);
new Microsoft.Maui.ApplicationModel.DataTransfer.ShareTextRequest : string -> Microsoft.Maui.ApplicationModel.DataTransfer.ShareTextRequest
Public Sub New (text As String)
Parameters
- text
- String
The text to share.
Applies to
ShareTextRequest(String, String)
- Source:
- Share.shared.cs
- Source:
- Share.shared.cs
Initializes a new instance of the ShareTextRequest class with the given text and title.
public:
ShareTextRequest(System::String ^ text, System::String ^ title);
public ShareTextRequest (string text, string title);
new Microsoft.Maui.ApplicationModel.DataTransfer.ShareTextRequest : string * string -> Microsoft.Maui.ApplicationModel.DataTransfer.ShareTextRequest
Public Sub New (text As String, title As String)
Parameters
- text
- String
The text to share.
- title
- String
The title to display on the operating systems share dialog.