共用方式為


Link 建構函式 (Guid, String, String, Type)

使用提供的 ID、名稱、儲存區和型別,初始化 Link 類別的新執行個體。

命名空間:  Microsoft.VisualStudio.TestTools.Common
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

'宣告
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
)

參數

  • id
    型別:System.Guid
    可唯一識別連結的 GUID。
  • storage
    型別:System.String
    伺服器上之物件的相對路徑。

.NET Framework 安全性

請參閱

參考

Link 類別

Link 多載

Microsoft.VisualStudio.TestTools.Common 命名空間