Share via


Link Constructor (Guid, String, String, Type)

Initializes a new instance of the Link class by using the provided ID, name, storage, and type.

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

Syntax

'Declaration
Public Sub New ( _
    id As Guid, _
    name As String, _
    storage As String, _
    type As Type _
)
public Link(
    Guid id,
    string name,
    string storage,
    Type type
)
public:
Link(
    Guid id, 
    String^ name, 
    String^ storage, 
    Type^ type
)
new : 
        id:Guid * 
        name:string * 
        storage:string * 
        type:Type -> Link
public function Link(
    id : Guid, 
    name : String, 
    storage : String, 
    type : Type
)

Parameters

  • id
    Type: Guid

    A GUID that uniquely identifies the link.

  • name
    Type: String

    The name of the link.

  • storage
    Type: String

    The relative path of the object on the server.

  • type
    Type: Type

    A Type that indicates the type of the target object.

.NET Framework Security

See Also

Reference

Link Class

Link Overload

Microsoft.VisualStudio.TestTools.Common Namespace