Link Constructor (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.
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, _
enabled As Boolean _
)
public Link(
Guid id,
string name,
string storage,
Type type,
bool enabled
)
public:
Link(
Guid id,
String^ name,
String^ storage,
Type^ type,
bool enabled
)
new :
id:Guid *
name:string *
storage:string *
type:Type *
enabled:bool -> Link
public function Link(
id : Guid,
name : String,
storage : String,
type : Type,
enabled : boolean
)
Parameters
- id
Type: System.Guid
A GUID that uniquely identifies the link.
- name
Type: System.String
The name of the link.
- storage
Type: System.String
The relative path of the object on the server.
- type
Type: System.Type
A Type that indicates the type of the target object.
- enabled
Type: System.Boolean
true indicates that the link is enabled; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.