共用方式為


AddRule.ElementAdded Method

Alerts listeners that a rule has been used.

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

Syntax

'宣告
Public Overridable Sub ElementAdded ( _
    e As ElementAddedEventArgs _
)
public virtual void ElementAdded(
    ElementAddedEventArgs e
)
public:
virtual void ElementAdded(
    ElementAddedEventArgs^ e
)
abstract ElementAdded : 
        e:ElementAddedEventArgs -> unit 
override ElementAdded : 
        e:ElementAddedEventArgs -> unit 
public function ElementAdded(
    e : ElementAddedEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

AddRule Class

Microsoft.VisualStudio.Modeling Namespace