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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
<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.IElementDirectoryThe element directory in which the modified ModelElement may be found
domainProperty
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfoThe domain propertywhose instance value changed
domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfoThe domain class of the ModelElement whose attribute value changed
elementId
Type: System.GuidThe Id of the ModelElement whose attribute value changed
oldValue
Type: System.ObjectThe attribute value before the change
newValue
Type: System.ObjectThe attribute value after the change
changeSource
Type: Microsoft.VisualStudio.Modeling.ChangeSourceThe 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