Binding.ToString Method

Definition

Returns a string representation of the binding object.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string that represents the current binding.

Examples

The following example demonstrates the ToString property. This code example is part of a larger example provided for the Binding class.

bindingdisplay = bindingdisplay + "\n   ToString: " + binding.ToString();

Remarks

The returned string is a concatenation of the IP address and the port number.

Applies to