Compartilhar via


ClosureFindAndRelateOrDeleteCopiedElementOperation Class

Represents a closure operation to find and relate to an element or delete the copied element if the target is not found.

Inheritance Hierarchy

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

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

Syntax

'Declaração
<SerializableAttribute> _
Public Class ClosureFindAndRelateOrDeleteCopiedElementOperation _
    Inherits ClosureFindAndRelateElementOperation _
    Implements ISerializable
[SerializableAttribute]
public class ClosureFindAndRelateOrDeleteCopiedElementOperation : ClosureFindAndRelateElementOperation, 
    ISerializable
[SerializableAttribute]
public ref class ClosureFindAndRelateOrDeleteCopiedElementOperation : public ClosureFindAndRelateElementOperation, 
    ISerializable
[<SerializableAttribute>]
type ClosureFindAndRelateOrDeleteCopiedElementOperation =  
    class
        inherit ClosureFindAndRelateElementOperation
        interface ISerializable
    end
public class ClosureFindAndRelateOrDeleteCopiedElementOperation extends ClosureFindAndRelateElementOperation implements ISerializable

The ClosureFindAndRelateOrDeleteCopiedElementOperation type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property CopiedRoleId The ID of the domainRole that the copied source object plays in the relationship (Inherited from ClosureFindAndRelateElementOperation.)
Public property CopiedTargetElement The copied element as found in the target store (Inherited from ClosureFindAndRelateElementOperation.)
Public property FoundRoleId The ID of the domainRole that the found target element plays in the relationship (Inherited from ClosureFindAndRelateElementOperation.)
Public property SourceElementDomainClassId Id of the domain class of the element (Inherited from ClosureFindElementOperation.)
Public property SourceElementId Id of the element in the source store (Inherited from ClosureFindElementOperation.)
Public property TargetDomainRelationshipId The id of the domain relationship to create (Inherited from ClosureFindAndRelateElementOperation.)
Public property TargetElement The element as found in the target store (Inherited from ClosureFindElementOperation.)
Public property TargetElementId Id of the element as found in the target store (Inherited from ClosureFindElementOperation.)

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 (Inherited from ClosureFindElementOperation.)
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. (Inherited from ClosureFindAndRelateElementOperation.)
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 (Inherited from ClosureFindElementOperation.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Resolve Performs target resolution of this operation (Overrides ClosureFindAndRelateElementOperation.Resolve(Partition, ElementGroup).)
Protected method ResolveCopiedTargetElement Resolves the target element that was copied to the Partition (Inherited from ClosureFindAndRelateElementOperation.)
Protected method ResolveCreateElementLink Resolves the creation of an element link in the target store (Inherited from ClosureFindAndRelateElementOperation.)
Protected method ResolveDomainRelationship Gets the DomainRelationshipInfo for the DomainClassId (Inherited from ClosureFindAndRelateElementOperation.)
Protected method ResolveFindElement Resolve searching for an element in an existing store (Inherited from ClosureFindAndRelateElementOperation.)
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