ClosureElementOperation Class

Represents closure element operations.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.ClosureElementOperation
    Microsoft.VisualStudio.Modeling.ClosureFindElementOperation

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
<SerializableAttribute> _
Public MustInherit Class ClosureElementOperation
[SerializableAttribute]
public abstract class ClosureElementOperation
[SerializableAttribute]
public ref class ClosureElementOperation abstract
[<AbstractClass>]
[<SerializableAttribute>]
type ClosureElementOperation =  class end
public abstract class ClosureElementOperation

The ClosureElementOperation type exposes the following members.

Constructors

  Name Description
Protected method ClosureElementOperation() Initializes a new instance of the ClosureElementOperation class.
Protected method ClosureElementOperation(SerializationInfo, StreamingContext) Initializes a new instance of the ClosureElementOperation class.

Top

Methods

  Name Description
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 GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjectData Gets the element that requires the closure operation.
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 Resolve Resolves the Partition, which contains elements in a store.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member ClosureElementOperationList Represents the list of closure element operations.

Top

Remarks

The ElementDirectory contains the graph of elements (nodes) and links. Closure defines a subgraph of the graph.

To delete an item from the graph, the framework must determine which additional items must be deleted. For example, if there is a parent-has-child relationship and the parent is deleted, the children are also deleted.

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.Modeling Namespace