ConnectionsZone.SendText 属性
定义
获取或设置文本,该文本在连接用户界面 (UI) 中位于指定的提供者(该提供者将向使用者发送数据)之前的那部分中显示。Gets or sets the text shown in the section of the connection user interface (UI) that precedes the named provider that will send data to a consumer.
public:
virtual property System::String ^ SendText { System::String ^ get(); void set(System::String ^ value); };
public virtual string SendText { get; set; }
member this.SendText : string with get, set
Public Overridable Property SendText As String
属性值
一个字符串,位于连接中的指定提供者之前。A string that prefaces the named provider in the connection. 默认文本是一个由 .NET Framework 提供的、特定于区域性的字符串。The default text is a culture-specific string supplied by the .NET Framework.
注解
SendText属性在特定连接方案中生效。The SendText property takes effect in a specific connection scenario. 当用户在提供程序控件上单击连接谓词时, ConnectionsZone 控件将显示一个视图,该视图使用户能够与使用者建立连接。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. 在指示用户选择使用者连接点的 UI 部分,在指定的访问接口之前有一些文本将参与连接。In the part of the UI that instructs users to choose a consumer connection point, there is some text that precedes the named provider that will participate in the connection. 此文本位于提供程序之前,它是属性中的文本 SendText 。This text that precedes the provider is the text in the SendText property. 默认情况下,该文本值为 Send。By default, the text value is Send.
可以 <asp:connectionszone> 通过添加一个名为的属性 SendText 并为其分配一个值,在元素的开始标记中以声明方式设置此属性的值。You can set the value of this property declaratively within the opening tag of the <asp:connectionszone> element, by adding an attribute named SendText and assigning it a value. 还可以通过编程方式设置属性值。You can also set the property value programmatically.