Export (0) Print
Expand All

ToString Method

IIS 7.0

Returns a string representation of the binding object.

Namespace:  Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public override string ToString()

Return Value

Type: System..::..String
A string that represents the current binding.

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

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();


Community Additions

ADD
Show:
© 2014 Microsoft