共用方式為


ShapeElementAddRule.ElementAdded Method

Initializes a new instance of the ShapeElement class

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

ShapeElementAddRule Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace