Binding.Host Property

Definition

Gets the host value of the binding.

public:
 property System::String ^ Host { System::String ^ get(); };
public string Host { get; }
member this.Host : string
Public ReadOnly Property Host As String

Property Value

The host value of the binding.

Examples

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

bindingdisplay = bindingdisplay + "\n   Host: " + binding.Host;

Remarks

A value of System.String.Empty indicates that the binding is not bound to a specific host or that the binding is not an IP port host binding.

Applies to