ClosureFindAndRelateOrDeleteCopiedElementOperation Constructor (ModelElement, DomainRoleInfo, ModelElement, DomainRoleInfo, DomainRelationshipInfo)
Constructor
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaração
Public Sub New ( _
copiedSourceElement As ModelElement, _
copiedSourceRoleInfo As DomainRoleInfo, _
foundElement As ModelElement, _
foundRoleInfo As DomainRoleInfo, _
domainRelationshipInfo As DomainRelationshipInfo _
)
public ClosureFindAndRelateOrDeleteCopiedElementOperation(
ModelElement copiedSourceElement,
DomainRoleInfo copiedSourceRoleInfo,
ModelElement foundElement,
DomainRoleInfo foundRoleInfo,
DomainRelationshipInfo domainRelationshipInfo
)
public:
ClosureFindAndRelateOrDeleteCopiedElementOperation(
ModelElement^ copiedSourceElement,
DomainRoleInfo^ copiedSourceRoleInfo,
ModelElement^ foundElement,
DomainRoleInfo^ foundRoleInfo,
DomainRelationshipInfo^ domainRelationshipInfo
)
new :
copiedSourceElement:ModelElement *
copiedSourceRoleInfo:DomainRoleInfo *
foundElement:ModelElement *
foundRoleInfo:DomainRoleInfo *
domainRelationshipInfo:DomainRelationshipInfo -> ClosureFindAndRelateOrDeleteCopiedElementOperation
public function ClosureFindAndRelateOrDeleteCopiedElementOperation(
copiedSourceElement : ModelElement,
copiedSourceRoleInfo : DomainRoleInfo,
foundElement : ModelElement,
foundRoleInfo : DomainRoleInfo,
domainRelationshipInfo : DomainRelationshipInfo
)
Parameters
- copiedSourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element that will be copied into the target store or deleted if the target is not found
- copiedSourceRoleInfo
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo
The Role of the copied element in the relationship
- foundElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
The element that must be searched for and found in the target.
- foundRoleInfo
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfo
The Role of the foundElement in the relationship
- domainRelationshipInfo
Type: Microsoft.VisualStudio.Modeling.DomainRelationshipInfo
The relationship that must be created if the target is found
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ClosureFindAndRelateOrDeleteCopiedElementOperation Class