ClosureFindAndRelateOrDeleteCopiedElementOperation Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ClosureFindAndRelateOrDeleteCopiedElementOperation() |
Default Constructor |
ClosureFindAndRelateOrDeleteCopiedElementOperation(SerializationInfo, StreamingContext) |
Protected constructor. It is executed during deserialization. |
ClosureFindAndRelateOrDeleteCopiedElementOperation(ModelElement, DomainRoleInfo, ModelElement, DomainRoleInfo, DomainRelationshipInfo) |
Constructor |
ClosureFindAndRelateOrDeleteCopiedElementOperation()
Default Constructor
public:
ClosureFindAndRelateOrDeleteCopiedElementOperation();
public ClosureFindAndRelateOrDeleteCopiedElementOperation ();
Public Sub New ()
Applies to
ClosureFindAndRelateOrDeleteCopiedElementOperation(SerializationInfo, StreamingContext)
Protected constructor. It is executed during deserialization.
protected:
ClosureFindAndRelateOrDeleteCopiedElementOperation(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ClosureFindAndRelateOrDeleteCopiedElementOperation (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Modeling.ClosureFindAndRelateOrDeleteCopiedElementOperation : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Modeling.ClosureFindAndRelateOrDeleteCopiedElementOperation
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
SerializationInfo
- context
- StreamingContext
StreamContext
Applies to
ClosureFindAndRelateOrDeleteCopiedElementOperation(ModelElement, DomainRoleInfo, ModelElement, DomainRoleInfo, DomainRelationshipInfo)
Constructor
public:
ClosureFindAndRelateOrDeleteCopiedElementOperation(Microsoft::VisualStudio::Modeling::ModelElement ^ copiedSourceElement, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ copiedSourceRoleInfo, Microsoft::VisualStudio::Modeling::ModelElement ^ foundElement, Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ foundRoleInfo, Microsoft::VisualStudio::Modeling::DomainRelationshipInfo ^ domainRelationshipInfo);
public ClosureFindAndRelateOrDeleteCopiedElementOperation (Microsoft.VisualStudio.Modeling.ModelElement copiedSourceElement, Microsoft.VisualStudio.Modeling.DomainRoleInfo copiedSourceRoleInfo, Microsoft.VisualStudio.Modeling.ModelElement foundElement, Microsoft.VisualStudio.Modeling.DomainRoleInfo foundRoleInfo, Microsoft.VisualStudio.Modeling.DomainRelationshipInfo domainRelationshipInfo);
new Microsoft.VisualStudio.Modeling.ClosureFindAndRelateOrDeleteCopiedElementOperation : Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ModelElement * Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.DomainRelationshipInfo -> Microsoft.VisualStudio.Modeling.ClosureFindAndRelateOrDeleteCopiedElementOperation
Public Sub New (copiedSourceElement As ModelElement, copiedSourceRoleInfo As DomainRoleInfo, foundElement As ModelElement, foundRoleInfo As DomainRoleInfo, domainRelationshipInfo As DomainRelationshipInfo)
Parameters
- copiedSourceElement
- ModelElement
The element that will be copied into the target store or deleted if the target is not found
- copiedSourceRoleInfo
- DomainRoleInfo
The Role of the copied element in the relationship
- foundElement
- ModelElement
The element that must be searched for and found in the target.
- foundRoleInfo
- DomainRoleInfo
The Role of the foundElement in the relationship
- domainRelationshipInfo
- DomainRelationshipInfo
The relationship that must be created if the target is found