Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Note: This API is now obsolete.
Obsolete constructor
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use constructor with TransactionContext parameter")> _
Public Sub New ( _
directory As IElementDirectory, _
domainClass As DomainClassInfo, _
elementId As Guid, _
assignments As PropertyAssignment(), _
changeSource As ChangeSource _
)
[ObsoleteAttribute("Use constructor with TransactionContext parameter")]
public ElementAddedEventArgs(
IElementDirectory directory,
DomainClassInfo domainClass,
Guid elementId,
PropertyAssignment[] assignments,
ChangeSource changeSource
)
[ObsoleteAttribute(L"Use constructor with TransactionContext parameter")]
public:
ElementAddedEventArgs(
IElementDirectory^ directory,
DomainClassInfo^ domainClass,
Guid elementId,
array<PropertyAssignment^>^ assignments,
ChangeSource changeSource
)
[<ObsoleteAttribute("Use constructor with TransactionContext parameter")>]
new :
directory:IElementDirectory *
domainClass:DomainClassInfo *
elementId:Guid *
assignments:PropertyAssignment[] *
changeSource:ChangeSource -> ElementAddedEventArgs
public function ElementAddedEventArgs(
directory : IElementDirectory,
domainClass : DomainClassInfo,
elementId : Guid,
assignments : PropertyAssignment[],
changeSource : ChangeSource
)
Parameters
- directory
Type: Microsoft.VisualStudio.Modeling.IElementDirectory
The directory in which the new ModelElement may be found
- domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
The domain class of the new ModelElement
- elementId
Type: System.Guid
The Id of the new ModelElement
- assignments
Type: array<Microsoft.VisualStudio.Modeling.PropertyAssignment[]
The attribute assignments for the new model element
- changeSource
Type: Microsoft.VisualStudio.Modeling.ChangeSource
Source 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.