ClosureFindOrCreateAndRelateElementOperation Constructor (ModelElement, DomainRoleInfo, ModelElement, DomainRoleInfo, DomainRelationshipInfo)
Constructor
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
copiedSourceElement As ModelElement, _
copiedSourceRoleInfo As DomainRoleInfo, _
foundElement As ModelElement, _
foundRoleInfo As DomainRoleInfo, _
domainRelationshipInfo As DomainRelationshipInfo _
)
public ClosureFindOrCreateAndRelateElementOperation(
ModelElement copiedSourceElement,
DomainRoleInfo copiedSourceRoleInfo,
ModelElement foundElement,
DomainRoleInfo foundRoleInfo,
DomainRelationshipInfo domainRelationshipInfo
)
public:
ClosureFindOrCreateAndRelateElementOperation(
ModelElement^ copiedSourceElement,
DomainRoleInfo^ copiedSourceRoleInfo,
ModelElement^ foundElement,
DomainRoleInfo^ foundRoleInfo,
DomainRelationshipInfo^ domainRelationshipInfo
)
new :
copiedSourceElement:ModelElement *
copiedSourceRoleInfo:DomainRoleInfo *
foundElement:ModelElement *
foundRoleInfo:DomainRoleInfo *
domainRelationshipInfo:DomainRelationshipInfo -> ClosureFindOrCreateAndRelateElementOperation
public function ClosureFindOrCreateAndRelateElementOperation(
copiedSourceElement : ModelElement,
copiedSourceRoleInfo : DomainRoleInfo,
foundElement : ModelElement,
foundRoleInfo : DomainRoleInfo,
domainRelationshipInfo : DomainRelationshipInfo
)
Parameters
copiedSourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element that will be copied into the target store
copiedSourceRoleInfo
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfoThe Role of the copied element in the relationship
foundElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe element that must be searched for and found in the target.
foundRoleInfo
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfoThe Role of the foundElement in the relationship
domainRelationshipInfo
Type: Microsoft.VisualStudio.Modeling.DomainRelationshipInfoThe relationship that must be created
.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
ClosureFindOrCreateAndRelateElementOperation Class