ClosureFindAndRelateElementOperation Constructor (ModelElement, DomainRoleInfo, ModelElement, DomainRoleInfo, DomainRelationshipInfo)
Constructor
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub New ( _
copiedSourceElement As ModelElement, _
copiedSourceRoleInfo As DomainRoleInfo, _
foundElement As ModelElement, _
foundDomainRole As DomainRoleInfo, _
domainRelationship As DomainRelationshipInfo _
)
public ClosureFindAndRelateElementOperation(
ModelElement copiedSourceElement,
DomainRoleInfo copiedSourceRoleInfo,
ModelElement foundElement,
DomainRoleInfo foundDomainRole,
DomainRelationshipInfo domainRelationship
)
public:
ClosureFindAndRelateElementOperation(
ModelElement^ copiedSourceElement,
DomainRoleInfo^ copiedSourceRoleInfo,
ModelElement^ foundElement,
DomainRoleInfo^ foundDomainRole,
DomainRelationshipInfo^ domainRelationship
)
new :
copiedSourceElement:ModelElement *
copiedSourceRoleInfo:DomainRoleInfo *
foundElement:ModelElement *
foundDomainRole:DomainRoleInfo *
domainRelationship:DomainRelationshipInfo -> ClosureFindAndRelateElementOperation
public function ClosureFindAndRelateElementOperation(
copiedSourceElement : ModelElement,
copiedSourceRoleInfo : DomainRoleInfo,
foundElement : ModelElement,
foundDomainRole : DomainRoleInfo,
domainRelationship : 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.
foundDomainRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfoThe Role of the foundElement in the relationship
domainRelationship
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
ClosureFindAndRelateElementOperation Class