Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a closure operation to mark a find or create target element operation.
Inheritance Hierarchy
System.Object
  Microsoft.VisualStudio.Modeling.ClosureElementOperation
    Microsoft.VisualStudio.Modeling.ClosureFindElementOperation
      Microsoft.VisualStudio.Modeling.ClosureFindAndRelateElementOperation
        Microsoft.VisualStudio.Modeling.ClosureFindAndRelateOrDeleteCopiedElementOperation
        Microsoft.VisualStudio.Modeling.ClosureFindOrCreateAndRelateElementOperation
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class ClosureFindAndRelateElementOperation _
    Inherits ClosureFindElementOperation _
    Implements ISerializable
[SerializableAttribute]
public class ClosureFindAndRelateElementOperation : ClosureFindElementOperation, 
    ISerializable
[SerializableAttribute]
public ref class ClosureFindAndRelateElementOperation : public ClosureFindElementOperation, 
    ISerializable
[<SerializableAttribute>]
type ClosureFindAndRelateElementOperation =  
    class 
        inherit ClosureFindElementOperation 
        interface ISerializable 
    end
public class ClosureFindAndRelateElementOperation extends ClosureFindElementOperation implements ISerializable
The ClosureFindAndRelateElementOperation type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | ClosureFindAndRelateElementOperation() | Default Constructor | 
| .gif) | ClosureFindAndRelateElementOperation(SerializationInfo, StreamingContext) | Protected constructor. It is executed during deserialization. | 
| .gif) | ClosureFindAndRelateElementOperation(ModelElement, DomainRoleInfo, ModelElement, DomainRoleInfo, DomainRelationshipInfo) | Constructor | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | CopiedRoleId | The ID of the domainRole that the copied source object plays in the relationship | 
| .gif) | CopiedTargetElement | The copied element as found in the target store | 
| .gif) | FoundRoleId | The ID of the domainRole that the found target element plays in the relationship | 
| .gif) | SourceElementDomainClassId | Id of the domain class of the element (Inherited from ClosureFindElementOperation.) | 
| .gif) | SourceElementId | Id of the element in the source store (Inherited from ClosureFindElementOperation.) | 
| .gif) | TargetDomainRelationshipId | The id of the domain relationship to create | 
| .gif) | TargetElement | The element as found in the target store (Inherited from ClosureFindElementOperation.) | 
| .gif) | TargetElementId | Id of the element as found in the target store (Inherited from ClosureFindElementOperation.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | FindElement | default brute force search operation (Inherited from ClosureFindElementOperation.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. This method is executed during serialization. (Overrides ClosureFindElementOperation.GetObjectData(SerializationInfo, StreamingContext).) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Matches | abstract method to determine that an element matches the one described by this find operation (Inherited from ClosureFindElementOperation.) | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | Resolve | Performs target resolution of this operation (Overrides ClosureFindElementOperation.Resolve(Partition, ElementGroup).) | 
| .gif) | ResolveCopiedTargetElement | Resolves the target element that was copied to the Partition | 
| .gif) | ResolveCreateElementLink | Resolves the creation of an element link in the target store | 
| .gif) | ResolveDomainRelationship | Gets the DomainRelationshipInfo for the DomainClassId | 
| .gif) | ResolveFindElement | Resolve searching for an element in an existing store | 
| .gif) | 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.