Compartir a través de


Building a DSRef Object from a Type Instance

In order to drag nodes from Server Explorer to a designer, there must be a way to create a DSRef object that also provides identifying information about the underlying object. This is achieved by specifying a Service element under the Services element of type IDSRefBuilder with other properties, such as the method name and parameters.

This process is similar to that for providing object type information for an enumeration of the type, as described in Enumerating DDEX Data Object Types.

DSRef Overview

The DSRef object is a COM object that supports two interfaces: IDSRefProvider for creating and modifying a DSRef object, and IDSRefConsumer for reading data in a DSRef object.

See Also

Reference

IDSRefProvider

IDSRefConsumer