共用方式為


SettableOleDataObject Class

Represents an OLE-compatible data object.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Shell.SettableOleDataObject

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Class SettableOleDataObject _
    Implements IDataObject
public class SettableOleDataObject : IDataObject

The SettableOleDataObject type exposes the following members.

Constructors

  Name Description
Public method SettableOleDataObject Initializes a new instance of SettableOleDataObject.

Top

Methods

  Name Description
Public method DAdvise Establishes a connection between the data object and the advise sink.
Public method DUnadvise Deletes the advise connection.
Public method EnumDAdvise Gets an object that can be used to enumerate advise connections.
Public method EnumFormatEtc Gets an object that allows you to enumerate the formats supported by the data object.
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetCanonicalFormatEtc Gets an alternate FORMATETC object.
Public method GetData Gets an alternate FORMATETC object.
Public method GetDataHere Gets data from a source data object.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method QueryGetData Determines whether the data object is capable of rendering the data as specified.
Public method SetData Transfers data.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace