共用方式為


CommentShapeAddRule.ElementAdded Method

Called when a CommentShape is created.

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

CommentShapeAddRule Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace