ModelElement.Copy Method (IEnumerable<Guid>)

Creates a copy of the element in the model.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'宣言
Public Function Copy ( _
    domainRolesNotToPropagate As IEnumerable(Of Guid) _
) As ModelElement
'使用
Dim instance As ModelElement
Dim domainRolesNotToPropagate As IEnumerable(Of Guid)
Dim returnValue As ModelElement

returnValue = instance.Copy(domainRolesNotToPropagate)
public ModelElement Copy(
    IEnumerable<Guid> domainRolesNotToPropagate
)
public:
ModelElement^ Copy(
    IEnumerable<Guid>^ domainRolesNotToPropagate
)
public function Copy(
    domainRolesNotToPropagate : IEnumerable<Guid>
) : ModelElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.ModelElement

The copy of the ModelElement.

Permissions

See Also

Reference

ModelElement Class

ModelElement Members

Copy Overload

Microsoft.VisualStudio.Modeling Namespace