语言

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
属性

构造函数

名称 说明
DSRefBuilder()

类构造函数。 初始化 DSRefBuilder 类的新实例。

属性

名称 说明
Connection

检索作为对象实例的 DataConnection 数据源连接。

Site

检索或设置对象站点。

(继承自 ObjectWithSite)

方法

名称 说明
AppendToDSRef(Object, String, Object[], Object[])

将有关具有指定类型和标识符的数据对象的信息追加到指定的现有 DSRef 对象。

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

生成一个 DSRef 对象,该对象标识具有指定类型和标识符的数据对象。

OnSiteChanged(EventArgs)

引发 SiteChanged 事件。

(继承自 ObjectWithSite)

活动

名称 说明
SiteChanged

当 Site 属性发生更改时引发的事件。

(继承自 ObjectWithSite)

显式接口实现

名称 说明
IObjectWithSite.GetSite(Guid, IntPtr)

使用 IObjectWithSite.SetSite(Object) 方法检索最后一个站点集。 在没有已知站点的情况下,对象将返回异常。

(继承自 ObjectWithSite)
IObjectWithSite.SetSite(Object)

提供网站指向站点对象的指针。

(继承自 ObjectWithSite)

适用于