Binding.ToString 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.
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.