ElementPropertyChangedEventArgs Constructor (IElementDirectory, DomainPropertyInfo, DomainClassInfo, Guid, Object, Object, ChangeSource)
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
'Déclaration
<ObsoleteAttribute("Use constructor with TransactionContext parameter")> _
Public Sub New ( _
directory As IElementDirectory, _
domainProperty As DomainPropertyInfo, _
domainClass As DomainClassInfo, _
elementId As Guid, _
oldValue As Object, _
newValue As Object, _
changeSource As ChangeSource _
)
[ObsoleteAttribute("Use constructor with TransactionContext parameter")]
public ElementPropertyChangedEventArgs(
IElementDirectory directory,
DomainPropertyInfo domainProperty,
DomainClassInfo domainClass,
Guid elementId,
Object oldValue,
Object newValue,
ChangeSource changeSource
)
[ObsoleteAttribute(L"Use constructor with TransactionContext parameter")]
public:
ElementPropertyChangedEventArgs(
IElementDirectory^ directory,
DomainPropertyInfo^ domainProperty,
DomainClassInfo^ domainClass,
Guid elementId,
Object^ oldValue,
Object^ newValue,
ChangeSource changeSource
)
[<ObsoleteAttribute("Use constructor with TransactionContext parameter")>]
new :
directory:IElementDirectory *
domainProperty:DomainPropertyInfo *
domainClass:DomainClassInfo *
elementId:Guid *
oldValue:Object *
newValue:Object *
changeSource:ChangeSource -> ElementPropertyChangedEventArgs
public function ElementPropertyChangedEventArgs(
directory : IElementDirectory,
domainProperty : DomainPropertyInfo,
domainClass : DomainClassInfo,
elementId : Guid,
oldValue : Object,
newValue : Object,
changeSource : ChangeSource
)
Parameters
- directory
Type: Microsoft.VisualStudio.Modeling.IElementDirectory
The element directory in which the modified ModelElement may be found
- domainProperty
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfo
The domain propertywhose instance value changed
- domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
The domain class of the ModelElement whose attribute value changed
- elementId
Type: System.Guid
The Id of the ModelElement whose attribute value changed
- oldValue
Type: System.Object
The attribute value before the change
- newValue
Type: System.Object
The attribute value after the change
- changeSource
Type: Microsoft.VisualStudio.Modeling.ChangeSource
The source of this 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.
See Also
Reference
ElementPropertyChangedEventArgs Class