Link Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Link(Guid, String, String, Type) |
Initializes a new instance of the Link class by using the provided ID, name, storage, and type. |
Link(Guid, String, String, Type, Boolean) |
Initializes a new instance of the Link class by using the provided ID, name, storage, type, and an indication of whether the link is enabled. |
Link(Guid, String, String, Type)
Initializes a new instance of the Link class by using the provided ID, name, storage, and type.
public:
Link(Guid id, System::String ^ name, System::String ^ storage, Type ^ type);
public Link (Guid id, string name, string storage, Type type);
new Microsoft.VisualStudio.TestTools.Common.Link : Guid * string * string * Type -> Microsoft.VisualStudio.TestTools.Common.Link
Public Sub New (id As Guid, name As String, storage As String, type As Type)
Parameters
- id
- Guid
A GUID that uniquely identifies the link.
- name
- String
The name of the link.
- storage
- String
The relative path of the object on the server.
Applies to
Link(Guid, String, String, Type, Boolean)
Initializes a new instance of the Link class by using the provided ID, name, storage, type, and an indication of whether the link is enabled.
public:
Link(Guid id, System::String ^ name, System::String ^ storage, Type ^ type, bool enabled);
public Link (Guid id, string name, string storage, Type type, bool enabled);
new Microsoft.VisualStudio.TestTools.Common.Link : Guid * string * string * Type * bool -> Microsoft.VisualStudio.TestTools.Common.Link
Public Sub New (id As Guid, name As String, storage As String, type As Type, enabled As Boolean)
Parameters
- id
- Guid
A GUID that uniquely identifies the link.
- name
- String
The name of the link.
- storage
- String
The relative path of the object on the server.
- enabled
- Boolean
true indicates that the link is enabled; otherwise, false.