Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Note: This API is now obsolete.
Obsolete constructor
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use constructor with TransactionContext parameter")> _
Public Sub New ( _
directory As IElementDirectory, _
domainClass As DomainClassInfo, _
elementId As Guid, _
sourcePartitionId As Guid, _
destinationPartitionId As Guid, _
changeSource As ChangeSource _
)
[ObsoleteAttribute("Use constructor with TransactionContext parameter")]
public ElementMovedEventArgs(
IElementDirectory directory,
DomainClassInfo domainClass,
Guid elementId,
Guid sourcePartitionId,
Guid destinationPartitionId,
ChangeSource changeSource
)
[ObsoleteAttribute(L"Use constructor with TransactionContext parameter")]
public:
ElementMovedEventArgs(
IElementDirectory^ directory,
DomainClassInfo^ domainClass,
Guid elementId,
Guid sourcePartitionId,
Guid destinationPartitionId,
ChangeSource changeSource
)
[<ObsoleteAttribute("Use constructor with TransactionContext parameter")>]
new :
directory:IElementDirectory *
domainClass:DomainClassInfo *
elementId:Guid *
sourcePartitionId:Guid *
destinationPartitionId:Guid *
changeSource:ChangeSource -> ElementMovedEventArgs
public function ElementMovedEventArgs(
directory : IElementDirectory,
domainClass : DomainClassInfo,
elementId : Guid,
sourcePartitionId : Guid,
destinationPartitionId : Guid,
changeSource : ChangeSource
)
Parameters
directory
Type: Microsoft.VisualStudio.Modeling.IElementDirectoryThe directory in which the new ModelElement may be found
domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfoThe domain class of the new ModelElement
elementId
Type: GuidThe Id of the new ModelElement
sourcePartitionId
Type: Guidsource partition Id
destinationPartitionId
Type: Guiddestination partition Id
changeSource
Type: Microsoft.VisualStudio.Modeling.ChangeSourceSource of the change
.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.