HostName.ToString | toString method

Applies to Windows and Windows Phone

Returns a string that represents the HostName object.

Syntax

Public Function ToString() As String

Parameters

This method has no parameters.

Return value

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A string that represents the HostName object.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Networking
Windows::Networking [C++]

Metadata

Windows.winmd

See also

HostName

 

 

Show:
© 2014 Microsoft