Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))

Name Property (My.Computer)

Location

My.Computer.Name

Syntax

Dim result As String = My.Computer.Name

Description

The Name property returns the name of the local computer.

Usage at a Glance

This property is read-only.

Related Framework Entries

  • Microsoft.VisualBasic.Devices.Computer.Name Property

  • Microsoft.VisualBasic.Devices.ServerComputer.Name Property

  • System.Environment.MachineName Property

See Also

Computer Object, Name Property (My.User )

Категории