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: GuidA GUID that uniquely identifies the link.
name
Type: StringThe name of the link.
storage
Type: StringThe relative path of the object on the server.
type
Type: TypeA Type that indicates the type of the target object.
enabled
Type: Booleantrue 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.