DSRefBuilder 类

定义

允许您 (DSRef) 对象创建用于标识数据对象的数据源引用。

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)

适用于