Share via


DSRefClipboardObject Class

Definition

Represents a clipboard object that contains a DSRef object.

public ref class DSRefClipboardObject : Microsoft::VisualStudio::Data::Framework::ClipboardObject
public class DSRefClipboardObject : Microsoft.VisualStudio.Data.Framework.ClipboardObject
type DSRefClipboardObject = class
    inherit ClipboardObject
Public Class DSRefClipboardObject
Inherits ClipboardObject
Inheritance
DSRefClipboardObject

Constructors

DSRefClipboardObject()

Initializes a new instance of the DSRefClipboardObject class.

DSRefClipboardObject(Object)

Initializes a new instance of the DSRefClipboardObject class, specifying a DSRef object.

Methods

ContainsDSRef()

Indicates whether the current DSRefClipboardObject contains a DSRef object.

GetData(String, Boolean)

Retrieves the data stored in the clipboard object in the specified format, using an automated conversion parameter to determine whether to convert the data to the format.

(Inherited from ClipboardObject)
GetData(String)

Retrieves the data stored in the clipboard object in the specified format.

(Inherited from ClipboardObject)
GetData(Type)

Retrieves the data stored in the clipboard object in the specified format.

(Inherited from ClipboardObject)
GetDataPresent(String, Boolean)

Indicates whether data stored in the clipboard object can be converted to or is associated with the specified format, using an automatic conversion parameter to determine whether to convert the data to the format.

(Inherited from ClipboardObject)
GetDataPresent(String)

Indicates whether data stored in the clipboard object can be converted to or is associated with the specified format.

(Inherited from ClipboardObject)
GetDataPresent(Type)

Indicates whether data stored in the clipboard object can be converted to or is associated with the specified format.

(Inherited from ClipboardObject)
GetDSRef(IServiceProvider)

Extracts the DSRef object from the DSRefClipboardObject.

GetFormats()

Retrieves a list of all formats that are supported for the data stored in the clipboard object.

(Inherited from ClipboardObject)
GetFormats(Boolean)

Retrieves a list of all formats that are supported for the data stored in the clipboard object, using an automatic conversion parameter to determine whether to retrieve only native data formats or all formats that the data can be converted to.

(Inherited from ClipboardObject)
SetData(Object)

Adds data to the clipboard object.

(Inherited from ClipboardObject)
SetData(String, Boolean, Object)

Adds data to the clipboard object.

(Inherited from ClipboardObject)
SetData(String, Object)

Adds data to the clipboard object in the specified format.

(Inherited from ClipboardObject)
SetData(Type, Object)

Adds data to the clipboard object, using the specified type as the format.

(Inherited from ClipboardObject)
SetDSRef(Object)

Adds the DSRef object to the DSRefClipboardObject.

Explicit Interface Implementations

IDataObject.DAdvise(FORMATETC, ADVF, IAdviseSink, Int32)

Creates a connection between the clipboard object and an advisory sink. This method is called by an object that supports an advisory sink and enables the advisory sink to be notified of changes in the object's data.

(Inherited from ClipboardObject)
IDataObject.DAdvise(FORMATETC[], UInt32, IAdviseSink, UInt32)

Creates a connection between the clipboard object and an advisory sink. This method is called by an object that supports an advisory sink and enables the advisory sink to be notified of changes in the object's data.

(Inherited from ClipboardObject)
IDataObject.DUnadvise(Int32)

Removes a notification connection that had been previously established.

(Inherited from ClipboardObject)
IDataObject.DUnadvise(UInt32)

Removes a notification connection that has been established.

(Inherited from ClipboardObject)
IDataObject.EnumDAdvise(IEnumSTATDATA)

Creates an object that can be used to enumerate the current advisory connections.

(Inherited from ClipboardObject)
IDataObject.EnumDAdvise(IEnumSTATDATA)

Creates an object that can be used to enumerate the current advisory connections.

(Inherited from ClipboardObject)
IDataObject.EnumFormatEtc(DATADIR)

Creates an object for enumerating the FORMATETC structures for a data object. These structures are used in calls to IDataObject.GetData(FORMATETC, STGMEDIUM) or IDataObject.SetData(FORMATETC, STGMEDIUM, Boolean).

(Inherited from ClipboardObject)
IDataObject.EnumFormatEtc(UInt32, IEnumFORMATETC)

Creates an object for enumerating the FORMATETC structures for a data object. These structures are used in calls to IDataObject.GetData(FORMATETC[], STGMEDIUM[]) or IDataObject.SetData(FORMATETC[], STGMEDIUM[], Int32).

(Inherited from ClipboardObject)
IDataObject.GetCanonicalFormatEtc(FORMATETC, FORMATETC)

Provides a standard FORMATETC structure that is logically equivalent to a more complex structure. Use this method to determine whether two different FORMATETC structures return the same data, removing the need for duplicate rendering.

(Inherited from ClipboardObject)
IDataObject.GetCanonicalFormatEtc(FORMATETC[], FORMATETC[])

Provides a standard FORMATETC structure that is logically equivalent to a more complex structure. Use this method to determine whether two different FORMATETC structures return the same data, removing the need for duplicate rendering.

(Inherited from ClipboardObject)
IDataObject.GetData(FORMATETC, STGMEDIUM)

Obtains data from a source data object. This method is called by a data consumer. It renders the data described in the specified FORMATETC structure and transfers it through the specified STGMEDIUM structure. The caller then assumes responsibility for releasing the STGMEDIUM structure.

(Inherited from ClipboardObject)
IDataObject.GetData(FORMATETC[], STGMEDIUM[])

Obtains data from a source data object. This method is called by a data consumer. It renders the data described in the specified FORMATETC structure and transfers it through the specified STGMEDIUM structure. The caller then assumes responsibility for releasing the STGMEDIUM structure.

(Inherited from ClipboardObject)
IDataObject.GetDataHere(FORMATETC, STGMEDIUM)

Obtains data from a source data object. This method, which is called by a data consumer, differs from the IDataObject.GetData(FORMATETC, STGMEDIUM) method in that the caller must allocate and free the specified storage medium.

(Inherited from ClipboardObject)
IDataObject.GetDataHere(FORMATETC[], STGMEDIUM[])

Obtains data from a source data object. This method, which is called by a data consumer, differs from the IDataObject.GetData(FORMATETC[], STGMEDIUM[]) method in that the caller must allocate and free the specified storage medium.

(Inherited from ClipboardObject)
IDataObject.QueryGetData(FORMATETC)

Determines whether the data object is capable of rendering the data described in the FORMATETC structure. Objects attempting a paste or drop operation can call this method before calling IDataObject.GetData(FORMATETC, STGMEDIUM) to get an indication of whether the operation will be successful.

(Inherited from ClipboardObject)
IDataObject.QueryGetData(FORMATETC[])

Determines whether the data object is capable of rendering the data described in the FORMATETC structure. Objects attempting a paste or drop operation can call this method before calling IDataObject.GetData(FORMATETC[], STGMEDIUM[]) to get an indication of whether the operation will be successful.

(Inherited from ClipboardObject)
IDataObject.SetData(FORMATETC, STGMEDIUM, Boolean)

Transfers data to the object that implements this method. This method is called by an object that contains a data source.

(Inherited from ClipboardObject)
IDataObject.SetData(FORMATETC[], STGMEDIUM[], Int32)

Transfers data to the object that implements this method. This method is called by an object that contains a data source.

(Inherited from ClipboardObject)

Applies to