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
domainRolesNotToPropagate
Type: System.Collections.Generic.IEnumerable<Guid>A list of domain role IDs through which copy should not be propagated.
Return Value
Type: Microsoft.VisualStudio.Modeling.ModelElement
The copy of the ModelElement.
Permissions
- 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.