Partager via


ComputerInfo Constructor (String)

Initializes an instance of the ComputerInfo class by using the provided computer name.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Sub New ( _
    computerName As String _
)
public ComputerInfo(
    string computerName
)
public:
ComputerInfo(
    String^ computerName
)
new : 
        computerName:string -> ComputerInfo
public function ComputerInfo(
    computerName : String
)

Parameters

  • computerName
    Type: String

    A string that contains the name of the computer.

.NET Framework Security

See Also

Reference

ComputerInfo Class

ComputerInfo Overload

Microsoft.VisualStudio.TestTools.Common Namespace