ClosureFindElementOperation Class

Represents a closure operation that marks a find target element operation.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.Modeling.ClosureElementOperation
    Microsoft.VisualStudio.Modeling.ClosureFindElementOperation
      Microsoft.VisualStudio.Modeling.ClosureFindAndRelateElementOperation
      Microsoft.VisualStudio.Modeling.ClosureFindOrCreateElementOperation

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

Syntax

'Declaration
<SerializableAttribute> _
Public Class ClosureFindElementOperation _
    Inherits ClosureElementOperation _
    Implements ISerializable
[SerializableAttribute]
public class ClosureFindElementOperation : ClosureElementOperation, 
    ISerializable
[SerializableAttribute]
public ref class ClosureFindElementOperation : public ClosureElementOperation, 
    ISerializable
[<SerializableAttribute>]
type ClosureFindElementOperation =  
    class 
        inherit ClosureElementOperation 
        interface ISerializable 
    end
public class ClosureFindElementOperation extends ClosureElementOperation implements ISerializable

The ClosureFindElementOperation type exposes the following members.

Constructors

  Name Description
Public method ClosureFindElementOperation() Default constructor
Public method ClosureFindElementOperation(ModelElement) Constructor
Protected method ClosureFindElementOperation(SerializationInfo, StreamingContext) Protected constructor. It is executed during deserialization.

Top

Properties

  Name Description
Public property SourceElementDomainClassId Id of the domain class of the element
Public property SourceElementId Id of the element in the source store
Public property TargetElement The element as found in the target store
Public property TargetElementId Id of the element as found in the target store

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 FindElement default brute force search operation
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjectData Populates a SerializationInfo with the data needed to serialize the target object. This method is executed during serialization. (Overrides ClosureElementOperation.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Matches abstract method to determine that an element matches the one described by this find operation
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Resolve Performs target resolution of this operation (Overrides ClosureElementOperation.Resolve(Partition, ElementGroup).)
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.Modeling Namespace