語言

DSRefBuilder 類別

定義

表示由輸入參數驅動之 IDSRefBuilder 介面的實作。

public ref class DSRefBuilder : Microsoft::VisualStudio::Data::ObjectWithSite
[System.Runtime.InteropServices.Guid("D42D21CE-A94A-47f2-A2DA-ACE133020BCD")]
public class DSRefBuilder : Microsoft.VisualStudio.Data.ObjectWithSite
[<System.Runtime.InteropServices.Guid("D42D21CE-A94A-47f2-A2DA-ACE133020BCD")>]
type DSRefBuilder = class
    inherit ObjectWithSite
Public Class DSRefBuilder
Inherits ObjectWithSite
繼承
DSRefBuilder
屬性

建構函式

名稱 Description
DSRefBuilder()

類別建構函式建構函式。 初始化 DSRefBuilder 類別的新執行個體。

屬性

名稱 Description
Connection

擷取數據源連接做為 DataConnection 對象實例。

Site

擷取或設定對象網站。

(繼承來源 ObjectWithSite)

方法

名稱 Description
AppendToDSRef(Object, String, Object[], Object[])

將具有指定型別和標識符的數據物件相關信息附加至指定的現有 DSRef 物件。

BuildDSRef(String, Object[], Object[])

建置 DSRef 對象,識別具有指定型別和標識符的數據物件。

OnSiteChanged(EventArgs)

引發 SiteChanged 事件。

(繼承來源 ObjectWithSite)

事件

名稱 Description
SiteChanged

變更 Site 屬性時所引發的事件。

(繼承來源 ObjectWithSite)

明確介面實作

名稱 Description
IObjectWithSite.GetSite(Guid, IntPtr)

使用 IObjectWithSite.SetSite(Object) 方法擷取最後一個網站集。 如果沒有已知的網站,物件會傳回例外狀況。

(繼承來源 ObjectWithSite)
IObjectWithSite.SetSite(Object)

提供月台物件的月臺指標。

(繼承來源 ObjectWithSite)

適用於