Compartir a través de


BaseUIHierarchy.HierarchyDataObject Class

Represents clipboard data.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Common.BaseUIHierarchy.HierarchyDataObject

Namespace:  Microsoft.TeamFoundation.Common
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaración
Public Class HierarchyDataObject
public class HierarchyDataObject
public ref class HierarchyDataObject
type HierarchyDataObject =  class end
public class HierarchyDataObject

The BaseUIHierarchy.HierarchyDataObject type exposes the following members.

Constructors

  Name Description
Public method BaseUIHierarchy.HierarchyDataObject(IDataObject, IVsUIHierarchy) Initializes a new instance of this HierarchyDataObject class.
Public method BaseUIHierarchy.HierarchyDataObject(array<SelectionPair[], Boolean) Initializes a new instance of this HierarchyDataObject class.

Top

Properties

  Name Description
Public property DataObject Gets the OleDataObject representing the data contained by this class.
Public propertyStatic member HierarchyItemsFormat Gets the registered clipboard format of this data object.
Public property Items Gets the array of SelectionPair objects representing the items associated with this data object.
Public property WasCut Gets or sets a flag describing whether this data was cut.

Top

Methods

  Name Description
Public method ClearItems Clears the contents of the clipboard and this 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 GetFileDropList Gets the list of files in this data object as an array of strings.
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 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.TeamFoundation.Common Namespace