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