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: 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.
.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.