次の方法で共有


ElementEventArgs Constructor (IElementDirectory, DomainClassInfo, Guid, ChangeSource, TransactionContext)

Constructor

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣言
Public Sub New ( _
    directory As IElementDirectory, _
    domainClass As DomainClassInfo, _
    elementId As Guid, _
    changeSource As ChangeSource, _
    transactionContext As TransactionContext _
)
public ElementEventArgs(
    IElementDirectory directory,
    DomainClassInfo domainClass,
    Guid elementId,
    ChangeSource changeSource,
    TransactionContext transactionContext
)
public:
ElementEventArgs(
    IElementDirectory^ directory, 
    DomainClassInfo^ domainClass, 
    Guid elementId, 
    ChangeSource changeSource, 
    TransactionContext^ transactionContext
)
new : 
        directory:IElementDirectory * 
        domainClass:DomainClassInfo * 
        elementId:Guid * 
        changeSource:ChangeSource * 
        transactionContext:TransactionContext -> ElementEventArgs
public function ElementEventArgs(
    directory : IElementDirectory, 
    domainClass : DomainClassInfo, 
    elementId : Guid, 
    changeSource : ChangeSource, 
    transactionContext : TransactionContext
)

Parameters

  • elementId
    Type: System.Guid
    The Id of the subject ModelElement

.NET Framework Security

See Also

Reference

ElementEventArgs Class

ElementEventArgs Overload

Microsoft.VisualStudio.Modeling Namespace