Επεξεργασία

Κοινή χρήση μέσω


ConnectionsZone.SendToText Property

Definition

Gets or sets the text shown in the section of the connection user interface (UI) that precedes the named consumer to which a provider will send data.

public:
 virtual property System::String ^ SendToText { System::String ^ get(); void set(System::String ^ value); };
public virtual string SendToText { get; set; }
member this.SendToText : string with get, set
Public Overridable Property SendToText As String

Property Value

A string that prefaces the named consumer that the provider will send data to. The default text is a culture-specific string supplied by the .NET Framework.

Remarks

The SendToText property takes effect in a specific connection scenario. When a user clicks the connect verb on a provider control, the ConnectionsZone control displays a view that enables users to establish a connection to a consumer. In the part of the UI that instructs users to choose a consumer connection point, there is some text that precedes the drop-down list control in which users can select which connection point the provider will send its data to. This text that precedes the drop-down control is the text in the SendToText property. By default, the text value is To.

You can set the value of this property declaratively within the opening tag of the <asp:connectionszone> element, by adding an attribute named SendToText and assigning it a value. You can also set the property value programmatically.

Applies to

See also