Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Function CanCopy ( _
elements As ICollection(Of ModelElement) _
) As Boolean
'使用
Dim instance As ElementOperations
Dim elements As ICollection(Of ModelElement)
Dim returnValue As Boolean
returnValue = instance.CanCopy(elements)
public bool CanCopy(
ICollection<ModelElement> elements
)
public:
bool CanCopy(
ICollection<ModelElement^>^ elements
)
public function CanCopy(
elements : ICollection<ModelElement>
) : boolean
Parameters
- elements
Type: System.Collections.Generic.ICollection<ModelElement>
Return Value
Type: System.Boolean
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.